A charged capacitor stores electrical potential energy. This energy is stored in the electric field established in the space between the capacitor plates due to the separation of charges. The energy density is proportional to the square of the electric field strength ($u = \frac{1} {2}\epsilon E^2$).