An electronic transformer typically works with **AC (alternating current)**.
Transformers, including electronic ones, rely on the principle of electromagnetic induction, which requires alternating current to create a fluctuating magnetic field. This fluctuating magnetic field induces voltage in the transformer’s secondary coil. Since DC (direct current) does not alternate, it cannot create the necessary changing magnetic field to operate a transformer efficiently.
However, electronic transformers are often used in applications like low-voltage lighting systems and usually take in high-voltage AC (e.g., 120V or 240V) and step it down to low-voltage AC (like 12V or 24V) for use in devices like halogen lamps or LEDs.