Daikin Interview Question

How does an inverter work?