UPS the name indicate there is no interruption in the power supply. UPS is uninterrupted power supply.
Inverter of course, there is an interruption and however it is negligible. An inverter convert direct current (DC) to alternating current (AC) or vice versa.