Almost every device you use runs an operating system, even if you have never thought about it by name. It is the software that greets you when a computer or phone switches on, the layer everything else sits on top of. This guide explains what an operating system actually does, which ones you are likely to meet, what people mean by the kernel, and how an OS is different from the apps you install and the firmware buried inside your hardware.

What an operating system is

An operating system, usually shortened to OS, is the main piece of software that controls a device and makes it usable. When you press the power button, the OS loads and takes charge: it draws the screen you see, listens for your taps and clicks, and acts as the middleman between you, your apps and the physical hardware.

Without an operating system, a computer or phone is just a box of components that cannot coordinate. The OS is what turns that collection of parts into something you can actually point at, type on and get work done with. Everything else you run depends on it being there first.

What an operating system does

Its job breaks down into a few core duties. First, it manages the hardware: the processor, memory, storage, screen, camera and every other component, making sure each gets used without programs trampling over one another. Second, it runs your apps, starting them, giving them resources and closing them down. Third, it manages files, keeping your documents, photos and settings organised so you and your apps can find them again. Fourth, it handles security, deciding who can sign in and what each app is allowed to touch.

It does all of this constantly and invisibly. The reason you rarely notice the OS is a sign it is doing its job; you only become aware of it when something goes wrong or when it asks you to update.

The main desktop operating systems

On computers, three names dominate. Windows, made by Microsoft, runs on the widest range of hardware from many different manufacturers and is the most common OS in offices and homes. macOS, made by Apple, runs only on Apple’s own Mac computers and is known for tight integration between hardware and software. Linux is a free, open-source family of systems that powers a huge share of the world’s servers and is popular with developers and tinkerers.

Each has its own look, its own app ecosystem and its own strengths. If you are weighing up the two most common consumer choices, our comparison of Mac versus PC goes into the practical differences in more detail.

One practical consequence of these differences is that software is not interchangeable between them. A program written for Windows will not simply run on a Mac, and vice versa, unless the developer makes a separate version. This is why you will often see downloads offered as separate Windows and macOS files, and why switching systems can mean rebuying or replacing apps you relied on. It is worth factoring in before changing camps.

The main mobile operating systems

Phones and tablets run a different set. Android, developed by Google and used by many phone makers, holds the largest global market share and comes in many manufacturer variations. iOS, Apple’s system, runs exclusively on iPhones, with a closely related version called iPadOS on iPads.

Mobile operating systems do the same fundamental jobs as desktop ones but are tuned for touchscreens, limited battery and always-on connectivity. They tend to be more locked down than desktop systems, controlling tightly what apps can do, which is both a security benefit and a limit on flexibility.

What a kernel is

At the centre of every operating system sits the kernel. If the OS is the manager of the device, the kernel is the manager’s innermost core, the part that talks directly to the hardware. According to TechTarget, the kernel is responsible for low-level tasks such as managing memory, scheduling which program gets the processor, and handling storage and devices.

Here is a plain way to picture it. When an app wants to save a file or use the camera, it does not reach into the hardware itself. It asks the kernel, and the kernel decides when and how to grant that request, keeping every program playing fairly. You never see or touch the kernel directly, but nothing on the device runs without it. Different systems use different kernels: Windows uses one called NT, Apple’s macOS and iOS use one called XNU, and Linux and Android share the Linux kernel.

How an OS differs from apps

This is a distinction that trips people up. Apps are individual programs you add to do specific things: a browser, a messaging app, a photo editor. The operating system is the foundation they all run on. Apps ask the OS for what they need, whether that is storage space, an internet connection or permission to use the microphone, and the OS grants or denies it.

The practical difference is that you add and remove apps freely without affecting the system underneath, while the OS stays in place as the constant layer. The resources those apps compete for, like memory, are shared out by the OS; if you want to understand that side, our explainers on what a CPU is and what RAM is cover the hardware the operating system juggles on every app’s behalf.

How an OS differs from firmware

Firmware is another layer people confuse with the operating system, and the difference is mostly about scope. Firmware is small, specialised software baked into an individual hardware component, telling that one part how to behave. Your keyboard, your storage drive, your router and your phone’s modem each have their own firmware.

The operating system, by contrast, runs the whole device and coordinates all those components together. Firmware sits below the OS, closer to the metal, and usually changes rarely. A useful mental model is that firmware gets a single part ready to do its job, while the OS orchestrates all the parts into a working device. Both can receive updates, but they are updating very different things.

Operating systems beyond phones and PCs

It is easy to think of operating systems as a computer-and-phone thing, but they are far more widespread than that. Your smart TV runs one, often a version of Android or a maker’s own system, to handle apps and streaming. Smartwatches run compact operating systems tuned for tiny screens and days of battery. Modern cars run them for the dashboard and entertainment, and even some fridges and thermostats have a basic OS inside.

These are sometimes called embedded operating systems, built to do a narrower set of jobs on limited hardware. The principle is identical to a laptop, though: software that manages the device’s parts and runs programs on top. Recognising this helps explain why so many everyday gadgets now get software updates at all, and why a cheap smart device with an abandoned, never-updated OS can quietly become a security liability on your home network.

Why OS updates matter

Those update prompts are easy to dismiss, but they are more important than they look. Updates do three things: they add features, they fix bugs, and most critically they patch security holes. That last point is the one worth taking seriously.

When a security flaw in an operating system becomes known, attackers move quickly to exploit devices that have not been patched. An out-of-date OS is a standing invitation, because the weaknesses are public knowledge. Installing updates promptly, ideally automatically, is one of the simplest and most effective things you can do to keep your data and accounts safe. The occasional inconvenience of a restart is a small price next to the risk of running known-vulnerable software.

Putting it together

An operating system is the quiet foundation of everything you do on a computer or phone. It manages the hardware, runs and polices your apps, keeps your files in order and guards the gate on security. The big desktop names are Windows, macOS and Linux; on mobile it is Android and iOS. At its core sits the kernel, dealing directly with the hardware. Apps live on top of it and firmware lives beneath it. Keep it updated, and it will keep doing its job without you having to think about it, which is exactly how a good operating system is meant to behave.