LEDs in floodlights are semi-conductors that turn electricity into light by passing the electric current between two leads (metal pads called SMDs). When the required level of wattage between the leads is reached, energy is released in the form of photons, which provide the light.