Diode is a semiconductor device it can be used to rectify the voltage.
Diode can be used as a rectifier rectifier is a circuit used to convert AC to Dc voltage for rectifing AC to DC diodes,scr,triac etc devices can be used.
https://www.electrikals.com/