A simple transformer consists essentially of two coils of insulated wire. In most transformers, the wires are wound around an iron-containing structure called the core. One coil, called the primary, is connected to a source of alternating current that produces a constantly varying magnetic field around the coil. The varying magnetic field, in turn, produces an alternating current in the other coil. This coil, called the secondary, is connected to a separate electric circuit.