An uninterruptible power supply (UPS) provides emergency power during mains failures, protecting sensitive equipment by utilizing stored energy from batteries or other sources. UPS systems range in type from offline/standby to online/double-conversion, addressing various power conditions such as voltage spikes and sags. Modern variants include dynamic UPS and hybrid systems, which enhance efficiency while maintaining power protection.