Intel Corporation interview question

How does MOSFET work.