A light-emitting diode (LED) is a semiconductor light source that emits light when current flows through it. ... Early LEDs were often used as indicator lamps, replacing small incandescent bulbs, and in seven-segment displays. Recent developments have produced white-light LEDs suitable for room lighting.