UPS(uninterruptible power supply) is an electrical apparatus that provides emergency power to a load when the input power source or mains power fails.