A diode is a semiconductor device, which allows current to flow through it in only one direction. The most common type of diode in modern circuit design is the semiconductor
The different types of diodes are shown below.
Diode, although other diode technologies exist. Current flows from anode to cathode within the diode. Diode and schematic representations are shown below.