Alif interview question

What is the event loop in JavaScript, and how does it work?