Universal Voltas interview question

What is difference between ups and inverter