A UPS is a device that provides backup power to critical equipment during a power outage. It ensures continuous operation and protects against data loss or equipment damage by supplying power until backup generators can take over.