A light-emitting diode, more commonly known as an LED, is a component that emits light when an electric current passes through it.
Today, there is a wide variety of LEDs available in different colors (red, green, blue, yellow, white), as well as multicolored LEDs, such as RGB LEDs, which can display a combination of red, green, and blue.
The LED allows current to flow in only one direction, from the anode to the cathode. The opposite direction, where current cannot pass, is called the reverse blocking direction.
For this electronic circuit, you will need a 220-ohm resistor, an LED, and a breadboard.