TSMC interview question

How does a MOSFET work