As others have mentioned, the reason for the inverter is to drive the compressor motor at a variable speed. As an example, the Tesla Roadster motor is a 3-phase, 4-pole AC induction motor -- a design invented by Nikola Tesla, hence the company name. The frequency of the AC waveform produced by...