Application programs usually require an operating system to function. The operating system is a vital component of the system software in a computer system. An operating system or an OS is a collection of software that manages computer hardware resources and provides common services for computer programs.