Coupling and Decoupling | Applications | Capacitor Guide
Capacitors, like batteries, need time to charge and discharge. When used as decoupling capacitors, they oppose quick changes of voltage. If the input voltage suddenly drops, the capacitor provides the energy to keep the voltage stable. Similarly, if there is a voltage spike, the capacitor absorbs the excess energy.