A rectifier is an electrical device that converts alternating current (AC) to direct current (DC) by allowing current to flow in only one direction. It is a crucial component in power supply circuits, enabling the conversion of the widely available AC power to the DC power required by many electronic devices.