text: what is an operating system?   an operating system (os) is an essential software program that manages the hardware and software resources of a computer. the os performs basic tasks, such as controlling and allocating memory, prioritizing the processing of instructions, controlling input and output devices, facilitating networking and managing files.  general-purpose computers, including personal computers and mainframes, must have an operating system to run other programs, such as application software. examples of operating systems for personal computers include microsoft windows, mac os (and darwin), unix, and linux.  the lowest level of any operating system is its kernel. this is the first layer of software loaded into memory when a system boots or starts up. the kernel provides access to various common core services to all other system and application programs. these services include, but are not limited to: disk access, memory management, task scheduling, and access to other hardware devices.  as well as the kernel, an operating system is often distributed with tools for programs to display and manage a graphical user interface, as well as utility programs for tasks such as managing files and configuring the operating system. they are also often distributed with application software that does not relate directly to the operating system's core function, but which the operating system distributor finds advantageous to supply with the operating system.  the delineation between the operating system and application software is not precise, and is occasionally subject to controversy. a technical perspective can use the universal turing machine concept. from commercial or legal points of view, the delineation can depend on the contexts of the interests involved. for example, one of the key questions in the united states v. microsoft antitrust trial was whether microsoft's web browser was part of its operating system, or whether it was a separable piece of application software.  like the term "operating system" itself, the question of what exactly should form the "kernel" is subject to some controversy, with debates over whether things like file systems should be included in the kernel. various camps advocate microkernels, monolithic kernels, and so on, as compromises.  operating systems are used on most, but not all, computer systems. the simplest computers, including the smallest embedded systems and many of the first computers did not have operating systems. instead, they relied on the application programs to manage the minimal hardware themselves, perhaps with the aid of libraries developed for the purpose. commercially-supplied operating systems are present on virtually all modern devices described as computers, from personal computers to mainframes, as well as mobile computers such as pdas and mobile phones.