A transformer is a device that transfers electrical energy from one alternating current (AC) circuit to another through the process of electromagnetic induction, without the need for direct electrical connection. It is a crucial component in the transmission and distribution of electrical power, as well as in various electronic devices.