Intel Corporation Interview Question

Explain What a Capacitor Does?