In electronics, a rectifier is the element or circuit that allows alternating current (AC) to be converted to direct current (DC). This is done using rectifier diodes, either solid state semiconductors, vacuum valves or gaseous valves such as mercury vapor valves.