HOW DOES A BATTERY ENERGY STORAGE SYSTEM WORK