When a electron passes through a bulb, does it lose energy? And what exactly is the energy tranformation taking place in the bulb? I know its electrical to light, but is the electrical energy coming from the work done by moving the electron across the length of the bulb or elsewhere?