Micron Technology Interview Question

What is a capacitor and how does it work?