It is convenient to define the Q or Quality Factor of a capacitor. It is a fundamental expression of the energy losses in a resonant system. Essentially for a capacitor it is the ratio of the energy stored to that dissipated per cycle.
It can further be deduced that the Q can be expressed as the ratio of the capacitive reactance to the ESR at the frequency of interest: