Physics A level revision resource: Introduction to capacitors
Unlike the battery, a capacitor is a circuit component that temporarily stores electrical energy through distributing charged particles on (generally two) plates to create a potential difference. A capacitor can take a shorter time than a battery to charge up and it can release all the energy very quickly.