Operating Systems

What Is an Operating System?

Diagram showing the OS as a layer between software and hardware
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 the virtual memory that programs use, handles file storage, and translates requests into the low-level commands that hardware can understand.

What the OS Does

Sources