A transformer is a device that is used to either raise or lower voltages and currents in an electrical circuit. In modern electrical distribution systems, transformers are used to boost voltage levels so as to decrease line losses during transmission.