Power transformers work by transferring electrical energy between two or more circuits through electromagnetic induction. They consist of primary and secondary windings wrapped around a magnetic core. When alternating current flows through the primary winding, it creates a magnetic field that induces a voltage in the secondary winding. This process allows for voltage transformation-either stepping up or stepping down voltage levels-enabling efficient long-distance power transmission and distribution in electrical grids.