A UPS is an electrical apparatus that provides clean electricity protection to electrical equipment againstmains power fails and power disturbances.