When a bulb is connected to a battery, it lights up because of the following energy transformations:
(a) In the battery, chemical energy is transformed into electrical energy.
(b) In the bulb, electrical energy is converted into heat energy and then to light energy.