Pergunta de entrevista da empresa EPAM Systems

Explain the event loop and how asynchronous code works in JavaScript.