Electromagnetic energy
The energy equation in a time-dependent electromagnetic field is $$ \begin{align*} \pdfd{w}{t} + ∇\cdot \v S = -\v E \cdot \v J \end{align*} $$ where $w$ is the energy density (energy per unit volume) $$ \begin{align*} w = \frac{ε_0}{2}|\v E|^2 + \frac{1}{2μ_0} |\v B|^2 \end{align*} $$ and $\v S$ is the energy flux density or Poynting vector $$ \begin{align*} \v S = \frac{1}{μ_0} \v E \times \v B. \end{align*} $$ (Derivation)
In the absence of currents $\v J$, we have a conservation law: the rate of change of energy in a volume $V$ is minus the flux of energy through $\partial V$.
On the right-hand side, $\v E\cdot \v J$ is the rate at which the electromagnetic field loses energy per unit volume by doing work on charged particles via the Lorentz force.
In an Ohmic conductor, $\v E\cdot \v J = |\v J|^2/σ$ is positive definite and is the Joule heating per unit volume.