Transformers have the effect of increasing or decreasing voltages. We may want to increase because for example, electricity transmission over long distances at high voltage over the National Grid results in less energy losses than electricity transmission at low voltages. We would transform down to a lower, safer voltage for tramsmission into people's houses. Usually a transformer consists of loops of wire on an iron core as shown.
Transformers only work on ac circuits ie when the input voltage is an alternating voltage. The process is this:
An alternating current in the primary circuit on the left induces an changing magnetic field in the transformer core according to Faraday's Law and Lenz's Law.
This changing magnetic field in the core in the core induces a current in the secondary coil, again according to Faraday's and Lenz's Law.
For a perfect transformer, such that there are no energy losses, so that the efficiency is 100%, we may use the equations,
Of course transformers are not 100% efficient. We may reduce energy losses by
Laminating the magnetic core. The changing magnetic field induces currents in the core itself. Since the core has resistance, energy losses will result here.
The wires in the primary and secondary coils have resistance. We could use thicker wires. Maybe superconducting wires may appear in the next few years.
Each time the core is magnetized and demagnetized, hysteresis losses result. We reduce these by using a soft iron core, which is easily magnetized and demagnetized.