How does an electronic low voltage transformer work?

The inverter conditions the voltage to change direction at a frequency of about 20,000 times per second (called Hertz or Hz) as opposed to the normal power from your wall outlet, which changes direction at a frequency of 50Hz or 60Hz. The higher the frequency, the smaller the low voltage transformer can be. Most electronic low voltage transformers provide high frequency AC output.