An operating system is a software that manages computer hardware and software resources and provides common services for computer programs. It acts as an intermediary between users of a computer and the computer hardware. The operating system is the most important type of system software in a computer system.