The diode allows current to pass in one direction only. It is used as a rectifier in power supplies to convert alternating current (AC) to direct current (DC). The diode uses a single P-N junction made of semiconductor material. The zener diode can operate in reverse bias and maintains a stable voltage, making it useful for voltage regulation in circuits. Diodes come in different package styles and are identified by alphanumeric codes and cathode markings.