Apple Interview Question

How would you explain what a capacitor does?