UPS and Inverter difference?

The difference between a UPS and Inverter is that a UPS uses an inverter. When there is main power supply UPS convert ac to dc and save energy in the battery.