principle of transformer
transformer is a device that in used for increase and decrease the value of voltage without change in frequency.
transformer work only on ac supply because A transformer needs an alternating current that will create a changing magnetic field. A changing magnetic field also induces a changing voltage in a coil. This is the basis of how a transformer works: The primary coil is connected to an AC supply.