PureCode Software interview question

How does the Node.js event loop work?