The Node.js execution architecture is built on the JavaScript Event loop, which is single-threaded and uses a JavaScript callback mechanism. The event loop allows Node.js to manage concurrent requests.
Most operating systems are multi-threaded, allowing them to manage numerous operations in the background. When one of these operations is complete, the kernel notifies Node.js, and the callback assigned to that operation is added to the event queue, where it will eventually be executed.