An operating system is a software that gives services for user’s application programs.
It is connecting the user space applications with the hidden hardware. It is one of the main software programs that runs on the hardware and very functional for the user to interact with the hardware so that they can forward the input and receive output. It also produces an accurate environment for other software to execute commands. In other words, Operating System acts at the middle through which the system hardware, other software, and the user to exchange information.
Some of the major tasks of operating systems are Memory Management, Disk Management, Process Scheduling, File Management, Security, Administration, Resource Allocation and others.