A capacitor is two plates holding equal and opposite charge. Bigger plates hold more charge at the same voltage, a smaller gap pulls the charges closer together so they hold more too, and a dielectric between the plates lets the same voltage store even more. The energy sits in the electric field between the plates.