A transformer is an electrical device that transfers electrical energy between two or more circuits through electromagnetic induction. Commonly, transformers are used to increase or decrease the voltages of alternating current in electric power applications.