How the OS interfaces between the user, apps , hardware?

A modern computer consists of the following −

  • One or more processors

  • Main memory

  • Disks

  • Printers

  • Various input/output devices.

So, to manage all these components, we require a layer of software in the computer system, that layer we call the Operating System (OS).

An Operating System is a program that acts as an intermediary or interface between a user of a computer and the computer hardware.

It is the most important type of system software in computer systems. Without an operating system the user cannot run application programs on the computer system.

Given below is the structure of an operating system −

The operating system acts like a government in a country, just like the government controlling, monitoring, helping the country, the operating system managing all the computer components and helping to execute programs correctly. And also to avoid conflicts that occur when users use the same resource, the operating system regulates which users can access a resource.