Fact 1: a light bulb requires electrical energy to produce light. 
Fact 2: Light is a part of the electromagnetic spectrum.
A bulb requires electrical energy to produce part of the electromagnetic spectrum.