An uninterruptible power supply (UPS) is a device that provides emergency power to a load when the input power source or mains power fails. It is critical in environments where maintaining a continuous power supply is essential, such as in histology laboratories.