01

The invisible layer

Turn on a phone or laptop and, before any app appears, a large program has already started: the operating system. It stays in charge until the device shuts down. Apps rarely touch the hardware directly. Instead they ask the operating system to read a file, draw on the screen, connect to Wi-Fi or play a sound, and it carries out the request on their behalf. This arrangement means an app developer does not need to know the details of every model of storage chip or network adapter. It also lets the system refuse requests that would be unsafe or that the user has not allowed.

02

Sharing one processor

A computer may have dozens of programs running, but only a few processor cores. The operating system's scheduler divides time into slices measured in milliseconds and switches between programs so quickly that they appear to run simultaneously. It sets priorities, so the music you are listening to does not stutter while a large file copies in the background. On phones, it is stricter, pausing or freezing apps that are not on screen to save battery. When a device feels slow, the cause is often contention for these shared resources, with too many programs competing for processor time, memory or storage at once.

03

Walls between programs

One of the operating system's most important jobs is isolation. Using features built into the processor, it gives each program its own virtual memory space, so one app cannot read another's data or overwrite it by mistake. The core of the system, called the kernel, runs with special privileges that ordinary apps lack. If a program crashes, the walls usually contain the damage. Modern phone systems go further, placing each app in a sandbox with access only to what the user grants, such as the camera or contacts. Those permission prompts are the operating system asking you to make a security decision.

04

Files, devices and drivers

Storage is really just a vast list of numbered blocks. The operating system turns it into the familiar picture of folders and named files, keeping track of where each piece is stored and who may open it. It also manages hardware through drivers, small programs that translate general commands into the specific instructions a particular device understands. Plug in a new printer or headset and the system finds or installs the right driver. Many hardware problems, such as audio dropping out or a screen flickering, ultimately trace back to drivers, which is why updates frequently include driver fixes. Keeping them current is sensible.

05

A short history

Early computers ran one job at a time, loaded by operators with punched cards. Time-sharing systems in the 1960s let many users share one machine through terminals. Unix, begun at Bell Labs in 1969, introduced ideas still common today, such as treating many things as files and building tools that work together. Personal computers popularised graphical interfaces with windows, icons and a mouse in the 1980s. Today most phones, servers and many embedded devices run descendants of a handful of system families, including the open-source Linux kernel, which powers a large share of the world's servers and supercomputers. Phones brought the same ideas to billions of pockets.

06

Why updates matter

Because the operating system sits between every app and the hardware, flaws in it are valuable to attackers, and regular updates close them. Updates also add drivers for new hardware and improve battery life and performance. A device that no longer receives updates may keep working for years, but it becomes steadily riskier for banking, messaging and email. Before buying, it is worth checking how long the maker promises to provide security updates. Understanding the operating system's role also helps with everyday troubleshooting: restarting a device clears the system's working state and is often a surprisingly effective first step when something misbehaves.

FOLLOW THE EVIDENCE

Sources & further reading

Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.