In a half-wave rectifier, a **diode** is used as the main device. The diode allows current to flow in only one direction, which is essential for rectification.
- During the positive half-cycle of the AC signal, the diode conducts and allows current to pass through.
- During the negative half-cycle, the diode does not conduct, effectively blocking the current flow.
This results in a rectified output signal that only includes the positive half-cycles of the AC input.