Every single personal computer or web server is run by an Operating System - the low-level software that interacts with the hardware, including peripherals such as a mouse and a printer, along with any apps that are present on your system. Any program input through 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, each and every application runs within the parameters established by the OS as well - priority, physical memory, processing time, and so on. This goes for both standard website scripts and server-side software like a media server. If a virtual server is generated on a physical one, there can be two independent Operating Systems, referred to as guest OS and host OS, so you can set up a different software environment on the same machine.