GlobalLogic interview question

Q5. What is Event Loop, explain with example