EPAM Systems Interview Question

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