Intel Corporation Interview Question

I was asked to explain how a capacitor works