Pergunta de entrevista da empresa Apple

How would you explain what a capacitor does?