Diode is 2 terminal device used in electronic devices. Diode conducts current in one direction and block in other. it is commonly used as rectifier and reverse current flow protection in a circuit. Subset of Diode is Zener diode and it is used for voltage regulation in electronic circuit.