A capacitor is a passive two-terminal electrical component that stores potential energy in an electric field. The effect of a capacitor is known as capacitance.It is commonly used for removing noise or making the supply voltage of a circuit more stable