The operating system is the software that supervises and controls the hardware. It is responsible for controlling all the peripheral devices (input and output devices). The operating system contains specific software for each type of peripheral device. It is responsible for scheduling all the operations of hardware in an efficient manner. The operating system also controls how the computerrelates to memory and the management of files.