Pregunta de entrevista de Canva

What is an event loop in JavaScript?