A UPS is a battery, a charger and a power supply. It plugs into the electrical source and maintains the battery via the charger. They are quite common, come in many sizes and often used by consumers to protect their PC against sudden power outages. Obviously have many uses beyond that.