A transformer by itself cannot convert AC to DC. A transformer is used to **step up** or **step down** the AC voltage. It only works with alternating current (AC), and its job is to change the voltage level.
To convert AC to DC, you need a **rectifier** in addition to the transformer. A rectifier is an electronic device that changes alternating current (AC) into direct current (DC). The most common types of rectifiers are:
1. **Half-wave rectifier** – Uses one diode to allow current to flow only in one direction, removing half of the AC waveform.
2. **Full-wave rectifier** – Uses two or more diodes to allow both halves of the AC waveform to pass through, providing a smoother DC output.
In many applications, the AC from the transformer is fed into a rectifier, and then the DC output may be further smoothed using filters or voltage regulators to ensure a stable DC voltage.