A capacitor is a device that is used to store charge. They are utilized in most electronic devices. In the presence of DC, a capacitor behaves as an open circuit. In the presence of AC power, the capacitor functions as a short-circuit.
Capacitance is calculated using the following formula: C = q/V.