How do batteries work? 

Batteries store electricity from the grid or a source of energy (e.g., solar system). During an outage, that stored energy can be accessed to keep lights and appliances functional. If your home has a solar photovoltaic system, the battery can store or be recharged from the energy generated by that system. This can provide even more resiliency in the event of an outage.