What does a transformer do?

A transformer reduces the voltage from 240v to 12v. A traditional coil or toroidal transformer works very well for whole circuits of low voltage fittings, or for outside use. Electronic transformers are small enough to use per fitting and hide easily in most ceiling recesses.