TSMC interview question

How does a mode locked laser work?