Pregunta de entrevista de Apple

How would you explain what a capacitor does?