Monotech Systems interview question

What is a capacitor and how it work?