A light-emitting diode (LED) is a semiconductor light source that emits light when current flows through it.