BlueStamp Interview Question

What does a capacitor do?