If an alternating voltages is applied across a junction diode, then the current will only in the part where it is forward biased. This property of junction diode can be used to rectify alternating current. The circuit used for this purpose is a rectifier.