A transformer uses electromagnetic induction to transfer electrical energy from one circuit to another. It has a primary coil with a supply voltage V1 that induces a voltage V'1 in the secondary coil. The secondary coil then outputs a voltage V'2 to power the load circuit, with currents Ie, Io, and Im flowing in the primary coil, secondary coil, and load respectively.