How does a Rectifier Work?

Rectifier contains Unidirectional device like Diode. It allows flow of current only in one direction. Hence AC voltage is converted into DC voltage.