If the source is a chemical battery, energy comes from the chemical reactions occurring in the battery's electrolyte, becomes transfered to electrical form, and then converted to heat and light in the bulb, all at the rate of 264 Joules per second (J/s).