HTTP server receives a socket; Node parses request line/headers and emits a request object with a readable body stream. Response is a writable stream. Keep handlers non-blocking; delegate heavy work to workers or queues. In production you often sit behind a reverse proxy (TLS termination, buffering).
Having a tech or coding interview? Check 29 JavaScript & Node.js interview questions.