An operating system is a set of programs that manage computer hardware assets and provide common services for application software. The operating system is a vital constituent of the system software in a computer system.