Semiconductor diode is a device in which electric current can flow in one direction .A semiconductor diode has two terminals P and N .The current can flow from P to N but not in opposite direction.For this reason ,semiconductor diodes are used to convert A.C into D.C.