A transformer works on the principle of mutual induction between two coils. It converts high voltage alternating current to low voltage and vice versa while keeping frequency the same. A transformer consists of a primary coil, secondary coil, and core. When current flows through the primary coil, it induces an alternating magnetic flux in the core. This changing flux induces an alternating voltage in the secondary coil. There are two main types of construction for transformers: core type and shell type. Transformers experience iron losses from hysteresis and eddy currents in the core as well as copper losses from resistance in the windings.