Skip to content

What is an Operating System (OS)? Functions, Types and Examples

An operating system (OS) is the main software that manages a computer's hardware and runs your apps. Learn its functions, how booting works, types of OS and examples.

Category
Tech Basics
On this page

When you switch on a laptop or phone, you don’t have to tell the processor how to read the disk, draw each pixel on the screen or talk to the Wi-Fi chip. Something takes care of all that for you, and gives you a home screen to start from. That something is the operating system. In this guide you’ll learn what an operating system is, what it does, what happens when a computer starts, the different types of operating systems, and the ones you use every day.

What is an Operating System?

An operating system (OS) is the main software that manages a computer’s hardware and lets you and your apps use it. It’s the first program that starts when you switch on the device, and it keeps running until you switch it off.

What is an operating system: the OS sits between you, your apps and the hardware
The operating system sits between you and your apps, and the hardware.

The OS sits between you and the hardware. You and your apps ask for things (“open this photo”, “play this song”, “save this file”), and the OS makes the hardware do the work.

Think of a restaurant. The customers (you and your apps) order food. The kitchen (the hardware) cooks it. The manager (the operating system) takes the orders, decides which cook does what, makes sure nobody’s order gets mixed up, and keeps the whole place running smoothly. Without the manager, it would be chaos.

Easy way to rememberYou → Apps → Operating System → Hardware. The OS is the middle layer that connects everything.

Examples of Operating Systems

Operating systemMade byUsed on
WindowsMicrosoftMost desktop and laptop PCs
macOSAppleMac computers
Linux (for example Ubuntu, Fedora, Debian)Open-source community and companiesServers, supercomputers, desktops, and inside many devices
AndroidGoogle (built on Linux)Most smartphones and tablets, smart TVs
iOS and iPadOSAppleiPhone and iPad
ChromeOSGoogleChromebook laptops

Android is the most widely used operating system in the world, because it runs on billions of phones. Windows leads on desktop and laptop computers, and Linux runs most of the servers behind websites and apps, and all of the world’s 500 fastest supercomputers.

What Does an Operating System Do?

The OS has many jobs, most of which happen quietly in the background:

JobWhat it meansExample
Process managementDecides which program uses the CPU and when, so many apps can run at oncePlaying music while browsing the web
Memory managementShares the RAM between apps and makes sure they don’t overwrite each other’s dataClosing a background app when memory runs low
File managementOrganises data into files and folders on the storage driveSaving, copying, renaming and deleting files
Device managementControls hardware such as printers, cameras and keyboards using small programs called driversPrinting a page, using a USB drive
SecurityProtects data with user accounts, passwords and permissionsScreen lock, fingerprint login, app permissions
User interfaceGives you a way to talk to the computer: icons and windows, or typed commandsDesktop, Start menu, home screen
NetworkingConnects the device to Wi-Fi, mobile data and the InternetJoining a Wi-Fi network
Multitasking isn’t magicA CPU core can really only do one thing at a time. The OS switches between apps so quickly, thousands of times a second, that it looks like they’re all running together.

What Happens When You Switch On a Computer?

Starting a computer is called booting. Here’s what happens:

  1. Power on: the hardware wakes up and runs the firmware (BIOS or UEFI), a small program stored on a chip on the motherboard.
  2. Self-test: the firmware checks that the main hardware is working. This is the Power-On Self-Test (POST).
  3. Find the OS: the firmware starts a bootloader, which finds the operating system on the storage drive.
  4. Load the kernel: the core of the OS, called the kernel, is loaded into memory and takes control of the hardware.
  5. Start services: the OS starts background services such as networking, sound and drivers.
  6. Ready: you see the login screen or home screen, and the computer is ready to use.

Kernel and Shell: The Two Main Parts

  • Kernel: the heart of the operating system. It talks directly to the hardware and manages the CPU, memory and devices. You never see it, but it’s always working.
  • Shell: the outer layer you interact with. It takes your commands and passes them to the kernel. It can be graphical (the desktop and icons) or a command line (typed commands in a terminal).

The name fits: like a nut, the soft kernel is in the middle, protected by the shell around it.

GUI vs Command Line

GUI (Graphical User Interface)CLI (Command Line Interface)
How you use itClick or tap icons, menus and windowsType text commands
Easy to learn?Yes, veryTakes some practice
Best forEveryday useServers, automation and fast, repeatable tasks
ExamplesWindows desktop, Android home screenLinux Terminal, Windows PowerShell

For example, this Linux command lists the files in a folder, the same as opening it in a file manager:

ls

Want to try it? See our Linux command cheat sheets.

Types of Operating Systems

TypeWhat it meansExamples
Desktop OSFor personal computers and laptopsWindows, macOS, Ubuntu
Mobile OSFor phones and tablets, designed for touch screens and long battery lifeAndroid, iOS
Server OSFor computers that run websites and services for many users, often without a screenLinux (Ubuntu Server, RHEL), Windows Server
Embedded OSA small OS built into a device to do one jobSmart TVs, routers, cars, smart watches
Real-time OS (RTOS)Must respond within an exact time, every timeAirbag controllers, medical machines, factory robots
Batch OSRuns jobs one after another, with no user interaction (common on early computers)Old mainframes; payroll and bill processing
Multi-user / time-sharing OSLets many users share one computer at the same timeLinux and Unix servers
Distributed OSMakes many connected computers work together like oneLarge clusters and some cloud systems

Operating systems are also described as single-user or multi-user (how many people can use it at once) and single-tasking or multitasking (how many programs can run at once). Almost every modern OS is multitasking.

Common mistakeAn app like Chrome, MS Word or WhatsApp is not an operating system. It’s application software that runs on top of the OS. Apps need an OS to work; the OS doesn’t need any particular app.

Open Source vs Proprietary Operating Systems

  • Proprietary: owned by one company, and the source code is private. Examples: Windows, macOS, iOS.
  • Open source: the source code is public, so anyone can study, change and share it. Example: Linux. Android is largely open source too, though most phones also include Google’s own apps and services.

A Short History of Operating Systems

  • 1940s–1950s: early computers had no operating system. Operators set them up by hand for each job.
  • 1950s–1960s: batch operating systems ran jobs one after another automatically.
  • 1969–1970s: Unix was created at Bell Labs. Many of its ideas are still used in Linux and macOS today.
  • 1981: MS-DOS, a command-line OS, came with the IBM PC.
  • 1984–1985: Apple’s Macintosh and then Microsoft Windows made graphical interfaces popular.
  • 1991: Linus Torvalds released the first version of the Linux kernel.
  • 2007–2008: the iPhone (iOS) and the first Android phones started the smartphone era.

Practice Questions

Try these yourself, then click a question to see the answer.

1. What is the full form of OS?

Operating System.

2. Is Android an operating system or an app?

An operating system.

3. What is the core part of an OS that talks to the hardware called?

The kernel.

4. Name two jobs of an operating system.

For example: managing processes, memory, files, devices, security, the user interface or networking.

5. Which type of OS is used in a car’s airbag controller?

A real-time operating system (RTOS), because it must react within an exact time.

6. What does GUI stand for?

Graphical User Interface.

FAQ

What is an operating system in simple words?

An operating system is the main software on a computer or phone. It controls the hardware, runs your apps and gives you a screen to work with. Windows, macOS, Linux, Android and iOS are operating systems.

What are 5 examples of operating systems?

Windows, macOS, Linux (such as Ubuntu), Android and iOS.

Can a computer work without an operating system?

It can switch on and run its firmware, but you can’t use it normally: there’s no desktop, no apps and no way to open files. Some very simple devices run a single program without an OS, but every PC and phone needs one.

What is the most used operating system?

Android, because of the huge number of smartphones. On desktops and laptops, Windows is the most used.

Is Linux an operating system?

Strictly, Linux is the kernel. A complete operating system built on it, such as Ubuntu, Fedora or Debian, is called a Linux distribution. In everyday use, people call all of these “Linux”.

What is the difference between an operating system and application software?

The operating system runs the computer itself and manages the hardware. Application software, like a browser or a game, runs on top of the OS to help you do a particular task.

Conclusion

An operating system is the main software that manages a computer’s hardware and runs your apps. It handles processes, memory, files, devices, security, networking and the user interface, and it’s the first thing that loads when you switch on. Windows, macOS and Linux run computers, while Android and iOS run phones. Every app you use depends on the operating system quietly working underneath it.

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top