A capacitor is an electrical component that stores and release electrical energy in a circuit.
When the circuit's voltage is higher than what is stored in the capacitor, it allows current to flow in, giving the capacitor a charge.
When the circuit's voltage is lower, the stored charge is released.
Often is placed across power and ground close to a sensor or motor to help smooth fluctuations in voltage.
Updated over 3 years ago