What is the Event Loop? The event loop is what allows Node.js to perform non-blocking I/O operations — despite the fact that JavaScript is single-threaded — by offloading operations to the system kernel whenever possible….
Source: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/