Power inverters are DC/AC Power Conditioning Circuits that use switching to reverse DC polarity across a load.
Here is the circuit:
Based on which switches are on and off, there are two different phases:
We can then add a transformer to boost the voltage: