Every single desktop or notebook or server is run by an Operating System - the low-level software that communicates with the hardware, including peripheral devices such as a mouse or a printer, together with any apps that are installed on the system. Any program input using a command line or a Graphical User Interface (GUI) is processed by sending an Application Program Interface (API) request to the OS. On a server, every single app runs within the parameters specified by the OS as well - priority, physical memory, processing time, and so on. This is valid for both standard Internet site scripts and server-side software such as a media server. In case a virtual server is created on a physical one, there can be two different Operating Systems, called guest OS and host OS, so that you'll be able to set up a different software environment on the very same machine.