A runtime environment provides an application with all of the resources it needs to operate. For instance, in order to run on a machine, an application will need access to the directories and files on the machine, hardware resources such as RAM and CPU, and software resources such as system utilities and software libraries. In the context of a webs server, Node.js is a runtime environment that runs a JavaScript application and provides the application with access to all of the server resources necessary to operate.