An operating system (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs.