An operating system (OS) is a collection of software that manages a computer's hardware and applications by allocating resources, including memory, CPU, input/output devices and file storage.[1] A user interacts with an operating system through a user interface (UI), which issues commands in a language the OS can understand. The UI can be either a graphical user interface (GUI) or a command-line interface (CLI).
All computer systems need an OS to function.