"How do lightbulbs work?"

When electric current flows through the tungsten filament, electrons strike the tungsten atoms causing them to vibrate and heat up.  Energy is released from the heated atoms in the form of photos, some of which fall within the visible light spectrum. 

                             How Lightbulbs Work