How Do Batteries Work? The Ultimate Guide to Energy Storage