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