It is widely believed that the only function of a UPS is to provide power during an electricity outage. Power failures, even when loadshedding is implemented, are not daily occurrences but dips, surges, spikes and harmonics (dirty power) are. These electric instabilities can cause as many if not, more issues than power failures.
When considering microprocessor-based equipment, both hardware (equipment) failure and software (data corruption) failure are as a direct result of these unseen disturbances. A UPS, more specifically, an online UPS will resolve majority of these problems.