Windows
The default on most office and home PCs. Big install base, deep backwards compatibility.
A short lecture
The quiet program that runs everything else.
Take a seat. Use → to begin.
Today
No homework. No citations. Lean back.
Definition
A computer is a pile of hardware: a processor, some memory, some storage, a screen, a keyboard, a network card, maybe a camera. None of it knows what to do.
The operating system is the program that wakes up first, takes charge of all that hardware, and offers it to your applications in a tidy, shared, reasonably safe form.
If your applications are the actors, the operating system is the stage, the lighting, the curtain, and the union rep.
The layered view
Picture the computer as a sandwich. The hardware is the bottom slice. You and your apps are the top. In between — holding it all together — is the operating system.
The big picture
Zoom in a little. The OS is in the middle of the machine — a switchboard between the things that do the work and the things that store, show, and feed the work.
Inside the OS
At the centre of the operating system is a piece called the kernel. It is the only piece of software on the machine that is fully trusted by the hardware. Everything else — your browser, your editor, even most of the OS's own tools — has to ask the kernel politely when it wants something real to happen.
If the kernel crashes, the whole machine crashes. Hence the famously unhelpful “blue screen”.
Juggling
Your laptop seems to run dozens of programs at once. Most of the time it isn't — it's running one program for a few milliseconds, freezing it, running another, freezing it, and so on, fast enough that you can't tell.
On screen
Each running program asks the OS for a rectangle on the screen. The OS keeps the pile of rectangles in order — which one is on top, which one has the keyboard, what happens when you drag a corner.
In the background
Each program thinks it has the whole memory to itself. It doesn't — the OS hands each one a private, pretend address space and quietly maps the pieces it really needs onto real chips. When you run low, it shuffles the least-used pieces out to storage and back.
On the shelf
Storage — a hard disk, an SSD, a flash chip — is just a long strip of numbered slots. By itself it knows nothing about “documents” or “photos”. The OS lays a file system on top: a directory, a name, a size, a timestamp, a permission. Suddenly the strip becomes a library.
Different operating systems use different file systems — NTFS, APFS, ext4, exFAT — but you only really notice when one refuses to read another's USB stick.
A brief history
In use today
The default on most office and home PCs. Big install base, deep backwards compatibility.
Apple's desktop OS. Polished, Unix underneath, locked to Apple hardware.
Open source, dozens of distributions. Runs most of the servers on the internet.
A Linux variant that puts a browser front and centre. Cheap laptops, schools.
FreeBSD, OpenBSD, and cousins. Quietly powering routers, game consoles, and parts of macOS.
Haiku, Plan 9, AmigaOS revivals, hobbyist kernels. Computing is older and weirder than the marketing suggests.
Look around
You don't just have one operating system. You probably own half a dozen without thinking about it.
iOS, Android
iPadOS, Android
tvOS, Tizen, webOS, Android TV, Fire TV
Alexa, Google, HomePod
watchOS, Wear OS
Android Automotive, QNX, embedded Linux
Even your router, your thermostat, and most modern dishwashers run an operating system. It's an unglamorous job — but every glowing screen has one.
In closing
…a small program reads a slightly larger one from the disk, and that one reads the operating system. The OS spins up, takes stock of the hardware, opens the gates to your applications, and then politely steps into the background.
You will spend the rest of your day staring at the applications. The operating system will spend the rest of its day making sure you never have to think about it.
That, more than anything, is its job.