DIODES
The most common function of a diode is to allow an electric current to pass in one direction, while blocking current in the opposite direction. This unidirectional behavior is called rectification, and is used to convert alternating current to direct current.