the power source is electrical ( whether the light is plugged in or has a battery)
the light bulb converts the electricity to light and heat.
in a fluorescent bulb, it is different, but the electricity is again converted to light, very little heat, though.