A transformer operates under the physical principle of mutual induction. When changing current and voltage is applied to a loop of wire, it will generate a magnetic field. A second loop placed in line with that field will generate a voltage and current. By changing the geometry of the loops, you can change the ratio between voltages and currents. Making your own transformer is a simple process, all it takes is a bit of math, wire, and a core material.