If you will recall from our discussion of microwave ovens in the past few weeks, the transformer in a high voltage circuit transforms 120 volts into a much higher voltage, say 4000 volts, in order to make things work. The diode and capacitor within both the microwave and the wall wart are key to facilitating this magical act, but in the wall wart it happens at a much lower voltage, about 12 volts.