I'm taking electricity and magnetism at school and i we are learning about capacitors. I get how they work and what they do. However, i don't see how they're useful. What is their purpose other than storing energy? why not just have the battery supply the energy?