The event loop in Node.js handles asynchronous operations by running tasks outside the main program flow and processing callbacks in a queue.