An uninterruptible power supply, or UPS, is a device that provides temporary power when the main power fails or becomes unstable. It often includes a battery and surge protection. A UPS can help prevent sudden shutdowns, data loss, and equipment problems during short power events.