Transformer is an electrical device which transfers electrical energy from one electrical system to another by the process of electromagnetic induction.
It is used to increase the voltage (Step-up transformer) or decrease the voltage (Step-down transformer) of the circuit while maintaining a constant frequency.
It is used in the power transmission in electrical systems.