Which of these can be used as a rectifier in electric circuits?
Transformer.
Transistor.
Diode.
Resistor.