BlueStamp interview question

What does a capacitor do?