HOW DOES BATTERY ENERGY STORAGE WORK