The device that changes alternating current (AC) to direct current (DC) is called a **rectifier**.
Rectifiers work by allowing current to flow in only one direction, which effectively "converts" the alternating nature of AC into the steady flow of DC. There are different types of rectifiers, such as:
- **Half-wave rectifiers**: Only allow one half of the AC signal to pass through.
- **Full-wave rectifiers**: Allow both halves of the AC signal to pass through, but in the same direction.
Rectifiers often use **diodes**, which are components that allow current to flow in one direction only, to achieve this conversion.
For smoothing out the resulting DC signal, additional components like **capacitors** may be used.