what are the advantages of LEDs compared with conventional incandescent lights?
A diode is a component that restricts the directional flow of charge carriers. Also a diode allows an electric current to flow in one direction, but blocks it in the opposite direction