A light-emitting diode (LED) is an that uses a to when flows through it. in the semiconductor recombine with, thereby releasing energy in the form of. The color of the light (corresponding to the energy of the photons) is determined by the energy required for electrons to cross the of the. White light is obtained by usin.