A transformer transfers electrical energy from one circuit to another by changing the current in the primary circuit, which creates a magnetic field that induces voltage in the secondary circuit. The first widely used transformer was invented in 1836, and improvements continued through the late 1800s, including the development of the first three-phase transformer in 1889. Modern transformers are used in many electronic devices and come in different types like the autotransformer, polyphase transformer, and instrument transformers. Transformers are classified based on factors like power level, frequency, voltage class, cooling type, application function, and winding turns ratio. They are commonly used to increase voltage for long distance power transmission and to step down voltages for electronic devices.