What does a capacitor do?

besides the conductivity of the air the dielectric of the capacitor affects how long it can hold a charge.