Light-emitting diodes (LEDs), semiconductor-based devices that emit light when an electric current flows through them, are key building blocks of numerous electronic devices. LEDs are used to light up smartphone, computer, and TV displays, as well as light sources for indoor and outdoor environments.