The correct response is:
It passes the electric current through it, changing the energy into light.
A light bulb functions as a resistor by allowing electric current to flow through it, and as the current passes through the filament or the LED components, it converts electrical energy into light and, in some cases, heat.