• Post author:Bhaskar Soni
  • Post published:
  • Post category:Operating System
  • Post comments:0 Comments
  • Reading time:3 mins read

What is an operating system? In short, it is the software that manages a computer’s hardware and lets other programs run. Without an operating system (OS), every application would need its own code to control the processor, memory, disk, screen and network. The OS does that work once, safely, for everyone.

This guide explains what an OS does, how it starts, its main parts and the most common examples today.

what is operating system

What an operating system does

An operating system has three big jobs:

  1. Manage resources: share the CPU, memory, storage and devices between programs.
  2. Provide services: give applications a simple way to read files, use the network or draw on the screen.
  3. Protect the system: keep programs and users from interfering with each other.

For a detailed list, see functions of the operating system.

Main parts of an OS

PartRole
KernelCore of the OS; runs in privileged mode and controls hardware
Device driversLet the kernel talk to specific hardware
System librariesGive programs standard functions, such as file and network access
System servicesBackground programs, such as logging, networking and updates
User interfaceCommand line (shell) or graphical desktop

Programs run in user space and ask the kernel for help through system calls. This separation keeps a crashing app from bringing down the whole computer.

How a computer starts (booting)

  1. The firmware (UEFI or BIOS) tests the hardware.
  2. Next, it loads a bootloader, such as GRUB or Windows Boot Manager.
  3. The bootloader loads the kernel into memory.
  4. Then the kernel initialises drivers and starts the first process, such as systemd on Linux.
  5. Finally, system services start, and you see a login screen.

Secure Boot checks that each step is signed, which blocks some types of malware.

Popular operating systems

OSTypical useNotes
WindowsDesktops, laptops, many business serversLargest desktop market share
macOSApple computersUnix-based, certified UNIX
LinuxServers, cloud, embedded devices, some desktopsFree and open source; many distributions
AndroidSmartphones, tablets, TVsBased on the Linux kernel
iOS and iPadOSiPhones and iPadsClosely tied to Apple hardware
ChromeOSChromebooksBrowser-centred, Linux underneath

Most of the internet runs on Linux, while most office desktops run Windows. Read more about the differences in Linux vs Windows.

Free vs paid operating systems

You can get capable operating systems for free. Linux distributions such as Ubuntu, Debian and Fedora cost nothing, and ChromeOS Flex can revive older PCs. Windows and macOS licences are usually included with new hardware, while Windows Server and enterprise Linux subscriptions cost extra for support.

Choosing an operating system

  • Office and general use: Windows or macOS.
  • Servers and cloud: Linux, unless you need Microsoft-specific services.
  • Learning IT and security: Linux, often in a virtual machine.
  • Old hardware: a lightweight Linux distribution.
  • Development: any of the three; many developers use Linux tools, even on Windows through WSL.

Related guides

Sources

Running Linux servers in production? Our Linux server hardening & security audit checks configuration, patching, SSH and logging. You can also use our free Linux server hardening checklist, or contact us.

Post author avatar

Bhaskar Soni

Bhaskar Soni is a Security Engineer and the founder of Youngster Company, based in Ahmedabad, Gujarat. He works hands-on with Linux server hardening, vulnerability assessment and penetration testing (VAPT), ISO 27001 compliance and OSINT investigations. He writes practical, tested guides for IT professionals and Indian businesses, and every article on this site is written or reviewed by him.

Leave a Reply