Transformer is a device that transforms AC voltage, current and impedance. When AC current is passed in the primary coil, AC magnetic flux is generated in the core (or magnetic core), which causes voltage (or current) to be induced in the secondary coil.