Operating Systems

What Is an Operating System?

Diagram showing the OS as a layer between software and hardware
The operating system sits between software and hardware, managing resources for programs. Source: Wikipedia
An operating system acts as an intermediary between the user of a computer and the computer hardware, managing resources so that the system can be used conveniently and efficiently.

Every laptop, phone, server, and smart device runs an operating system. Without an OS, each program would have to talk to the hardware directly and coordinate with other programs by itself, which would make programming a lot more difficult.

The OS sits between software and the hardware it uses: it decides which when and how a program can use the CPU, manages virtual memory that programs use, handles disk file storage, and translates requests into the low-level commands that hardware understands.

What the OS Does

Sources