PureCode Software Interview Question

How does the event loop work in Node.js?