How does Node.js work?
Node.js operates on a single-threaded, event-driven architecture. It uses the event loop
to handle multiple connections concurrently, which means it can perform non-blocking I/O
operations efficiently.
📌 Real-life analogy:
Think of it like a chef (Node.js) who takes multiple orders (requests) but doesn't cook each
dish one at a time. Instead, they prep and send off tasks (e.g., grilling, baking) and move on
to the next customer while waiting.