A capacitor is an electronic component that stores electrical charge. There are different types of capacitors; electrolytic, ceramic, and supercapacitors with different characteristics.