Pregunta de entrevista de Alif

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