how does transformer work?
 A transformer changes the voltage of an electric current while transferring it from one circuit to another through electromagnetic induction. Fluctuating magnetic fields in the transformer generate an electric current in a coil of wire, and the voltage they put out is directly proportional to the number of turns in the coil of wire. 