Step-by-step explanation:
When electron flow is resisted, some of the energy in the electrons does not travel through all the way. Because energy is conserved, the energy that was moving the electrons forward is converted to heat energy. It can also be converted to light energy, as in the filament in a light bulb.