Domanda di colloquio di Apple

How would you explain what a capacitor does?