While capacitors can store energy, as batteries do, capacitors can release all their stored energy very quickly, even faster than a second. A defibrillator or a photoflash capacitor uses this ability. It gradually charges, until it cannot be filled any more, and then quickly discharges its stored power to a device that needs to have it quickly.