Transformer is an electrical device that transfers electrical energy between two or more circuits through electromagnetic induction. It's primarily used to increase (step up) or decrease (step down) voltage levels in alternating current (AC) electrical systems.