Power dissipated as heat in a resistor is P = I²R = V²/R = VI. Microscopically, P = ∫ J·E dV with power density p = J·E = σE². Joule heating arises from moving charges losing energy through collisions. The rate of energy loss equals work done by the electric field on charge carriers, converted to heat.
From your study of electric power, you know that power is the rate of energy delivery: P = IV. In a resistor with Ohm's law V = IR, you can substitute to get three equivalent forms — P = IV = I²R = V²/R — all measuring the same thing: how fast electrical energy is converted to heat. The choice of form is just algebra, but each is convenient in different situations: I²R when you know the current, V²/R when you know the voltage.
The microscopic picture, which your study of current density prepares you for, is more revealing. A current density J flows because the electric field E accelerates charge carriers. The work done by E per unit volume per unit time is the Joule heating power density p = J·E. In an ohmic material where J = σE (σ is the conductivity), this becomes p = σE² = J²/σ. Integrating over a volume gives total power, recovering P = I²R for a uniform resistor. The product J·E is the local rate at which the field does work on charges — and in a resistor, that work immediately goes into thermal motion (heat) rather than kinetic energy, because the charges are in constant collision with the lattice.
This collision picture explains *why* resistors heat up. Carriers accelerated by E quickly scatter off vibrating lattice atoms, transferring their kinetic energy to the lattice as heat. The mean free time τ between collisions sets the scale: longer τ means higher conductivity σ and less Joule heating per unit field. Raising the temperature increases lattice vibrations, shortening τ and raising resistance — which in turn increases Joule heating for the same current, creating a self-reinforcing effect. This is why resistors can overheat and fail if operated beyond their rated current.
The practical importance of Joule heating is enormous. Every transmission line, every circuit trace, every motor winding dissipates power as I²R loss. Engineers minimize this by using high-conductivity materials (copper, aluminum), maximizing conductor cross-section to reduce current density, and transmitting power at high voltage (which reduces I for the same power P = IV). At the same time, Joule heating is *useful* in resistive heaters, incandescent bulbs, and fuses — which are designed to fail (melt) at a precise current, protecting the rest of the circuit.