Thursday, August 27, 2026 Independent journalism
MediaChannel

technology

What is a operating system and how does it actually work?

Your operating system is the invisible layer that makes every app, file, and click possible. Most Australians use one every day without knowing what it's actually doing behind the screen.

A detailed view of colorful source code displayed on a computer screen, representing modern programming and technology.

Photo by Markus Spiske on Pexels

Your operating system is the most important piece of software on any device you own, and it's almost certainly the one you think about least. Whether you're on a Windows laptop, a Mac, an Android phone, or an iPhone, an operating system sits between you and the hardware, quietly managing every single thing that happens when you tap, click, or type. Without it, your device is a box of circuits that can't do anything useful.

What an operating system actually is

An operating system (OS) is software that manages a computer's hardware resources and provides a platform for other programs to run. It's the middleman. When you open a browser, the browser doesn't communicate directly with your processor or RAM. It asks the operating system to handle that, and the OS decides how and when to allocate the resources needed.

The four most widely used operating systems today are Microsoft Windows, Apple macOS, Google Android, and Apple iOS. Linux is the fifth major player, used most heavily on servers and by developers. Each works differently under the hood, but they all perform the same core functions.

The core jobs of an operating system

Every OS handles several fundamental tasks, and getting any one of them wrong would cause the whole device to fail.

Process management. Your OS runs dozens of programs at once. It decides which program gets access to the processor and for how long, switching between tasks so fast it feels simultaneous. This is called scheduling, and a single modern CPU can handle thousands of switches per second.

Memory management. RAM is finite. The OS tracks which application is using which block of memory, prevents apps from accidentally overwriting each other's data, and clears memory when a program closes. When RAM fills up, the OS can temporarily offload some data to your storage drive, a process called virtual memory or paging. It's slower, but it stops the system from crashing.

File system management. Files don't just float around on a hard drive. The OS organises them into a structured hierarchy of folders and handles every read and write operation. Windows uses NTFS. macOS uses APFS. Different file systems have different rules about file size limits, permissions, and encryption. Just as encryption protects your data at rest and in transit, the file system determines how that data is physically stored and accessed.

Device management. Every piece of hardware connected to your computer, from your keyboard to a USB printer, needs to talk to software. The OS uses small programs called drivers to bridge that communication. When you plug in a new device and it "just works," the OS found and loaded the right driver automatically.

Security and access control. The OS enforces who can do what. User accounts, file permissions, and application sandboxing all live at the OS level. This is why a rogue app on a well-configured system can't just read your documents or access your webcam without permission. Understanding how the OS enforces these boundaries matters for the same reason a firewall protects your network perimeter: layered controls reduce the blast radius of any single failure.

The kernel: the OS within the OS

At the heart of every operating system is the kernel. It's the component that loads first when you power on a device, and it never stops running while the device is on. The kernel has direct access to hardware. Everything else, including the visual interface you interact with, sits on top of it.

There are two main kernel designs. A monolithic kernel (used by Linux and most Windows versions) puts all core functions in one large block of code running in privileged memory. A microkernel (used in some embedded and real-time systems) keeps the core minimal and runs other services in separate, isolated processes. Monolithic kernels are faster in practice. Microkernels are more fault-tolerant. Apple's macOS uses a hybrid approach called XNU, which borrows from both.

How an OS boots up

When you press the power button, the process that starts your OS is called booting. It's surprisingly structured. The processor first runs firmware stored on a chip in the motherboard, either the older BIOS or the modern UEFI. This firmware checks that basic hardware is present and functioning, then hands control to a bootloader stored on your drive. The bootloader loads the OS kernel into RAM. The kernel initialises hardware, loads drivers, starts background services, and finally presents the login screen or home screen.

The whole sequence takes seconds. On a fast NVMe SSD, a modern Windows 11 machine can go from power-off to the desktop in under 10 seconds. Older spinning hard drives stretched that to a minute or more.

Why this matters for everyday users

Knowing what an OS does helps you make better decisions. Keeping your OS updated matters because those updates patch security vulnerabilities at the kernel and driver level. Choosing between Android and iOS isn't just a brand preference. It's a choice between two different permission models, update schedules, and app ecosystems. Running out of RAM forces the OS into virtual memory, which explains why a cheap laptop with 4 GB of RAM slows to a crawl with three browser tabs open.

The OS is also where most malware attacks are aimed. A program that gains OS-level privileges can do almost anything. This is why phishing attacks and software exploits so often target the operating system itself, not just individual applications.

Mobile operating systems: a slightly different beast

iOS and Android do everything a desktop OS does, but with constraints that make sense for a phone. They enforce stricter app sandboxing, meaning apps have very limited access to each other's data. They manage battery and radio hardware aggressively, suspending background processes to preserve power. They're also designed around a touchscreen interface from the ground up, unlike desktop systems that retrofitted touch support onto keyboard-and-mouse designs.

Android is built on a modified Linux kernel. iOS shares its XNU kernel with macOS. Both are Unix-like at their core, even if they look and behave very differently to users.

The operating system sits at the foundation of everything you do digitally. It's not glamorous, and it mostly works without any help from you. But understanding what it does makes you a more informed user, a better buyer, and harder to catch off guard when something goes wrong.