LEDs produce light by direct conversion of electrical energy to light energy.
On the other hand incandescent light sources produce light by heating a filament until it grows red hot. Linear and compact fluorescent lamps use a UV discharge plus a phosphor to produce the light. HID lamps use the ionization of gases in a discharge tube which in turn produce photons.