Inverter working principle | How does an inverter work?