A light-emitting diode (LED) is a semiconductor device that emits visible light when an electric current passes through it. LEDs have several advantages over traditional light sources like incandescent bulbs including higher energy efficiency, longer lifetime, resistance to shock, and ability to emit light in specific wavelengths. However, LEDs also have some disadvantages like higher initial cost and sensitivity to temperature changes.