InfoBeans interview question

What is event loop and how does it work?