Yahoo interview question

What is the event loop? how does it work?