An Operating System is a set of programs, which are used to manage the overall operations of a computer, in order to achieve maximum efficiency of the computer system.
It is a large collection of software, which manages resources of the computer system, such as memory processor, file system and input/output devices.
It is the most important part of system software which schedules programs and controls the operations of the computer system.