What is a transformer?

A transformer is a static electrical device, which, by electromagnetic induction transforms energy at one voltage and current to another voltage and current at the same frequency.