CAPACITOR A capacitor is a passive electronic component that stores and releases electrical energy in the form of an electric field.…