MAHLE International interview question

how does an inverter work