An operating system (OS) is the software layer between hardware and applications. It schedules processors, allocates memory, manages storage and devices, and gives programs a consistent way to request those resources.
Why it matters
Every program you run depends on the OS for memory, files, networking, and security boundaries. The OS you choose determines which software runs, which update cycle you follow, and how a server is administered. Web servers, phones, routers, and laptops all run one.
Most operating systems have a kernel at the center, plus system libraries, services, a file system, and usually a shell or graphical interface.
Example
Hardware -> Kernel -> System services -> Applications
CPU, RAM scheduling networking, login browser, web server
disk, NIC memory mgmt file access database
When a web server opens port 443, it asks the kernel to do it. The kernel talks to the network card driver and hands the app a socket.
Common mistakes
- Treating the OS and the desktop environment as the same thing. On Linux you can swap the desktop without changing the OS underneath.
- Running an end-of-life OS on a public server. It stops receiving fixes, so known flaws stay open.
- Assuming an app built for one OS runs on another without a compatibility layer.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
This page is general information written by our editorial team and updated when documentation changes. Servers and providers differ, so test changes safely first. See our editorial policy and disclaimer.