A capacitor is an electronic component that stores electrical energy. It consists of two conductive plates separated by a non-conductive material called a dielectric.