Which of these properties describes a diode?

able to amplify an electronic signal
able to change direct current into alternating current
able to switch an electric current on and off
able to change alternating current into direct current

The property that describes a diode is "able to change alternating current into direct current."