An Operating System, commonly called an OS, is system software that manages computer hardware and software resources and provides a platform for applications to run.
In simple words, the operating system acts as a middle layer between the user, applications, and computer hardware.
Examples of operating systems include:
- Microsoft Windows
- macOS
- Linux
- Android
- iOS
Without an operating system, using a modern computer would be extremely difficult because applications would have to control hardware directly.
A simple relationship is:
User → Applications → Operating System → Hardware
What is an Operating System?
An operating system is the main system software responsible for controlling and managing the basic operations of a computer or digital device.
It manages important resources such as:
- CPU
- RAM
- Storage
- Input devices
- Output devices
- Files
- Applications
- Network connections
- User accounts
For example, when you open Google Chrome, Chrome does not directly control every part of the computer.
Instead, the operating system helps Chrome access:
- CPU processing power
- RAM
- Storage
- Display
- Keyboard
- Mouse
- Network connection
This allows applications to run without needing to control hardware individually.
Simple Example of an Operating System
Suppose you want to open a photo stored on your computer.
A simplified process is:
- You double-click the photo.
- The operating system receives your request.
- It finds the photo on the storage device.
- It loads the required data into RAM.
- The CPU processes the instructions.
- A photo application opens.
- The image is displayed on the monitor.
So, the operating system coordinates several hardware and software components to complete a simple task.
Why Do We Need an Operating System?
A computer contains many different hardware components.
For example:
- CPU
- RAM
- SSD
- Keyboard
- Mouse
- Monitor
- Network card
Applications also need access to these resources.
If every application directly controlled every hardware device, the system would be extremely complicated.
The operating system simplifies this by managing resources centrally.
It allows applications to request services from the operating system instead of directly controlling hardware.
Main Role of an Operating System
The operating system performs several major roles.
These include:
- Managing the CPU
- Managing memory
- Managing files
- Managing storage
- Managing devices
- Managing applications
- Managing users
- Providing security
- Managing network connections
- Providing a user interface
Each of these topics can be studied separately in much greater detail.
How Does an Operating System Work?
The operating system starts when the computer boots.
After the computer’s firmware performs initial hardware checks, the operating system is loaded from storage into memory.
Once running, the OS controls and coordinates system resources.
A simplified startup flow is:
Power Button
↓
Firmware Starts
↓
Hardware Initialisation
↓
Bootloader Starts
↓
Operating System Loads
↓
Login Screen Appears
↓
User Starts Applications
After this, the operating system continues running in the background while the computer is being used.
Operating System as a Bridge
One of the easiest ways to understand an operating system is to think of it as a bridge.
For example:
User → Microsoft Word → Windows → Printer Driver → Printer
Here:
- User gives the command.
- Microsoft Word requests printing.
- Windows manages the request.
- Printer driver communicates with the printer.
- Printer produces the output.
The operating system helps different parts of the system work together.
Main Functions of an Operating System
An operating system performs many important functions.
Process Management
A process is a program that is currently running.
For example, if you open:
- Google Chrome
- Microsoft Word
- Spotify
the operating system manages all these running processes.
It decides how CPU time and other resources are shared.
Memory Management
The operating system manages RAM.
When applications run, they need memory.
The OS decides:
- How much memory is assigned
- Which application receives memory
- When memory can be released
- How different applications are kept separated
This helps prevent programs from interfering with each other.
File Management
The operating system helps organise files and folders.
It allows users to:
- Create files
- Save files
- Rename files
- Copy files
- Move files
- Delete files
- Search files
For example:
Documents → College → Assignment.docx
The operating system manages where the file is stored and how it can be accessed.
Device Management
The operating system manages connected hardware devices.
Examples include:
- Keyboard
- Mouse
- Printer
- Monitor
- USB drive
- Graphics card
- Network adapter
Device drivers help the operating system communicate with these devices.
Storage Management
The operating system manages storage devices such as:
- HDD
- SSD
- USB drives
It helps manage:
- Partitions
- File systems
- Drive letters
- Available space
- File locations
User Management
Modern operating systems can support multiple users.
Each user can have:
- Username
- Password
- Personal files
- Permissions
- Settings
For example, a family computer may contain separate accounts for different people.
Security Management
Operating systems provide many security features.
These may include:
- User authentication
- Passwords
- Permissions
- File access controls
- Firewall support
- Encryption support
- Secure boot
- Updates
Security is one of the most important responsibilities of modern operating systems.
Application Management
The operating system provides the environment required for applications to run.
For example:
- Microsoft Word runs on Windows or macOS.
- Mobile applications run on Android or iOS.
- Linux applications run on Linux-based systems.
The operating system provides services that applications can use.
Input and Output Management
The operating system manages communication with input and output devices.
Examples include:
Keyboard → Operating System → Application
and
Application → Operating System → Monitor
This allows applications to interact with devices more easily.
Network Management
Operating systems also provide networking features.
They help manage:
- Wi-Fi
- Ethernet
- IP addresses
- Network adapters
- DNS settings
- Internet connections
For example, when you connect your laptop to Wi-Fi, the operating system manages the connection.
User Interface
The operating system provides a way for users to interact with the computer.
Two common types are:
- Graphical User Interface
- Command-Line Interface
Graphical User Interface
A Graphical User Interface, or GUI, allows users to interact with a computer using visual elements.
Examples include:
- Icons
- Windows
- Menus
- Buttons
- Mouse pointer
Windows and macOS are well-known graphical operating systems.
Command-Line Interface
A Command-Line Interface, or CLI, allows users to interact with the computer by typing commands.
Examples include:
- Command Prompt
- PowerShell
- Linux terminal
For example:
dir
can display files and folders in Windows Command Prompt.
Types of Operating Systems
Operating systems can be classified in different ways.
Common types include:
- Desktop Operating Systems
- Mobile Operating Systems
- Server Operating Systems
- Real-Time Operating Systems
- Embedded Operating Systems
- Network Operating Systems
- Multi-User Operating Systems
These categories can overlap.
Desktop Operating Systems
Desktop operating systems are designed mainly for personal computers and laptops.
Examples include:
- Windows
- macOS
- Linux distributions
They provide features such as:
- Desktop interface
- File management
- Application support
- Networking
- Hardware management
Mobile Operating Systems
Mobile operating systems are designed for smartphones and tablets.
Examples include:
- Android
- iOS
They are optimised for:
- Touchscreens
- Mobile applications
- Battery usage
- Wireless communication
- Sensors
Server Operating Systems
Server operating systems are designed to run services for other computers and users.
They may be used for:
- Websites
- Databases
- File sharing
- Authentication
- Cloud services
Examples include server versions and distributions of:
- Windows
- Linux
- Unix-like systems
Real-Time Operating Systems
A Real-Time Operating System, or RTOS, is designed to respond to events within predictable time limits.
These systems are often used where timing is very important.
Examples of use cases include:
- Industrial control systems
- Robotics
- Automotive systems
- Medical equipment
Embedded Operating Systems
Embedded operating systems are designed for specialised devices.
Examples of devices include:
- Smart TVs
- Routers
- Cameras
- Home appliances
- Industrial devices
They are usually designed for specific hardware and tasks.
Multi-User Operating Systems
A multi-user operating system allows multiple users to access system resources.
This is common in:
- Servers
- Mainframes
- Enterprise systems
Each user can have separate accounts and permissions.
Single-User vs Multi-User Operating Systems
| Single-User Operating System | Multi-User Operating System |
|---|---|
| Mainly designed around one interactive user at a time | Supports multiple users |
| Common in personal devices | Common in servers and enterprise systems |
| Focuses on individual use | Focuses on shared resource access |
| Example: Personal computer environment | Example: Multi-user server environment |
Desktop OS vs Mobile OS
| Desktop Operating System | Mobile Operating System |
|---|---|
| Designed mainly for PCs and laptops | Designed mainly for phones and tablets |
| Keyboard and mouse commonly used | Touchscreen commonly used |
| Usually supports desktop software | Usually supports mobile apps |
| Examples: Windows, macOS, Linux | Examples: Android, iOS |
Operating System vs Application Software
| Operating System | Application Software |
|---|---|
| Manages computer resources | Helps users perform specific tasks |
| System software | Application software |
| Starts during system boot | Usually opened by the user |
| Provides platform for applications | Depends on an operating system |
| Example: Windows | Example: Microsoft Word |
| Example: Linux | Example: Google Chrome |
Operating System vs Firmware
| Operating System | Firmware |
|---|---|
| Manages the overall computer system | Provides low-level hardware control |
| Loaded during boot | Usually stored in non-volatile memory |
| Supports applications | Helps initialise or control hardware |
| Example: Windows | Example: UEFI |
| Example: Linux | Example: Router firmware |
Operating System vs Kernel
The operating system and kernel are related but not exactly the same.
| Operating System | Kernel |
|---|---|
| Complete system software environment | Core part of the operating system |
| Includes user interface and system tools | Manages low-level system resources |
| Provides many services | Handles CPU, memory and device operations |
| Example: Windows operating system | Windows kernel components |
| Example: Linux distribution | Linux kernel |
The kernel is the core component inside an operating system.
What is a Kernel?
The kernel helps manage important resources such as:
- CPU
- RAM
- Processes
- Devices
- System calls
A simplified relationship is:
Application → Operating System → Kernel → Hardware
The kernel will be studied separately in greater detail.
What Happens When You Open an Application?
Suppose you open Google Chrome.
A simplified process is:
- You click the Chrome icon.
- The operating system receives the request.
- Chrome files are read from storage.
- Required information is loaded into RAM.
- The CPU executes Chrome instructions.
- The operating system manages hardware access.
- Chrome appears on the monitor.
This shows that applications rely heavily on the operating system.
What Happens When You Save a File?
Suppose you save a Word document.
The process may look like:
Microsoft Word → Operating System → File System → Storage Device
The operating system helps determine:
- Where the file should be stored
- How it is named
- Which user can access it
- How storage space is allocated
What Happens When You Connect a USB Drive?
When you connect a USB drive:
- Hardware detects the device.
- The operating system identifies it.
- The appropriate driver is used.
- The storage is made available to the user.
- You can access files through the file manager.
This process happens automatically on most modern systems.
Popular Operating Systems
Some of the most widely known operating systems include:
Microsoft Windows
Windows is commonly used on:
- Desktop computers
- Laptops
- Business computers
- Gaming PCs
It provides a graphical user interface and broad hardware and software compatibility.
macOS
macOS is Apple’s desktop operating system.
It is designed primarily for Mac computers.
Linux
Linux is used in many environments, including:
- Desktop computers
- Servers
- Cloud systems
- Cybersecurity environments
- Embedded devices
Linux is available through different distributions.
Examples include:
- Ubuntu
- Debian
- Fedora
Android
Android is a mobile operating system widely used on smartphones and tablets.
iOS
iOS is Apple’s operating system for iPhones.
Operating System and Hardware Resources
The operating system manages many hardware resources.
| Hardware Resource | Operating System Role |
|---|---|
| CPU | Schedules processes |
| RAM | Allocates and manages memory |
| SSD/HDD | Manages files and storage |
| Keyboard | Receives input |
| Monitor | Manages visual output |
| Printer | Communicates through drivers |
| Network Adapter | Manages network connectivity |
Operating System and Software Resources
The operating system also manages software resources.
Examples include:
- Applications
- Processes
- Background services
- Files
- User accounts
- Permissions
This allows many applications to work together on the same computer.
Operating System and Multitasking
Modern operating systems support multitasking.
Multitasking means managing multiple applications or processes during the same period.
For example, you can:
- Listen to music
- Browse the web
- Download a file
- Write a document
at the same time.
The operating system manages resources between these tasks.
Operating System and Security
Operating systems are a major part of computer security.
They provide security features such as:
- User authentication
- Permissions
- Account separation
- Firewall support
- Encryption
- Secure Boot
- Security updates
If the operating system is compromised, an attacker may gain significant control over the computer.
This is why operating systems should be updated regularly.
Operating System Updates
Operating system developers release updates for reasons such as:
- Security fixes
- Bug fixes
- Performance improvements
- Hardware compatibility
- New features
Security updates are especially important because they can fix known vulnerabilities.
32-Bit and 64-Bit Operating Systems
Operating systems can be designed for different CPU architectures.
Two common terms are:
- 32-bit
- 64-bit
Modern personal computers mostly use 64-bit operating systems.
A 64-bit operating system can support larger memory address spaces and modern processors.
Operating System Installation
An operating system must normally be installed on a storage device before the computer can be used normally.
A simplified installation process is:
- Boot from installation media.
- Select language and settings.
- Select storage drive.
- Create or select partitions.
- Copy operating system files.
- Configure system settings.
- Create user account.
- Restart the computer.
- Operating system starts.
Operating System Boot Process
A simplified boot process looks like:
Power On
↓
Firmware
↓
POST / Hardware Initialisation
↓
Bootloader
↓
Operating System Kernel
↓
System Services
↓
User Interface
↓
Login
This happens every time a computer starts.
Advantages of an Operating System
Operating systems provide many benefits.
Easy Computer Usage
They provide interfaces that make computers easier to use.
Hardware Management
They manage computer components and connected devices.
Application Support
They provide an environment for software applications.
Multitasking
They allow users to run multiple programs.
Security
They provide user accounts, permissions, and other security features.
File Management
They organise files and folders.
Networking
They provide network and internet connectivity.
Limitations of Operating Systems
Operating systems can also have limitations.
Security Vulnerabilities
Operating systems may contain bugs or security weaknesses.
Resource Usage
The operating system itself uses:
- CPU
- RAM
- Storage
Compatibility Issues
Some applications or devices may only support certain operating systems.
Complexity
Modern operating systems are highly complex.
Updates
Updates may occasionally introduce compatibility or stability problems.
Common Operating System Problems
Common problems include:
- Computer not booting
- System freezing
- Application crashes
- Driver problems
- Slow performance
- Network problems
- Corrupted system files
- Update failures
These problems do not always mean the operating system itself is faulty, because hardware or application problems can produce similar symptoms.
Important Operating System Terms to Remember
Operating System: Main system software that manages a computer.
OS: Short form of Operating System.
Kernel: Core component of the operating system.
Process: A program that is currently running.
Memory Management: Managing RAM used by applications.
File Management: Organising files and folders.
Device Management: Managing hardware devices.
User Interface: Method used to interact with a computer.
GUI: Graphical User Interface.
CLI: Command-Line Interface.
Bootloader: Program that helps load the operating system.
Multitasking: Managing multiple tasks during the same period.
Driver: Software that helps the OS communicate with hardware.
Frequently Asked Questions About Operating Systems
What is an operating system?
An operating system is system software that manages hardware and software resources and provides an environment in which applications can run.
What are five examples of operating systems?
Five common examples are:
- Windows
- macOS
- Linux
- Android
- iOS
Is Windows an operating system?
Yes.
Microsoft Windows is an operating system used mainly on desktop and laptop computers.
Is Linux an operating system?
Linux commonly refers to a family of operating systems built around the Linux kernel.
Is Android an operating system?
Yes.
Android is a mobile operating system.
Is Google Chrome an operating system?
Google Chrome itself is a web browser and application software.
ChromeOS, however, is an operating system developed for Chromebook devices.
What is the main function of an operating system?
Its main function is to manage computer resources and provide services for users and applications.
What is the difference between operating system and system software?
| Operating System | System Software |
|---|---|
| One specific type of system software | Broad category of software |
| Manages the overall computer | Includes OS, drivers, firmware and other system tools |
| Example: Windows | Example: Windows, drivers, utilities |
What is the difference between operating system and application software?
| Operating System | Application Software |
|---|---|
| Manages computer resources | Performs specific user tasks |
| System software | Application software |
| Example: Windows | Example: Microsoft Word |
| Starts with the computer | Usually opened when needed |
Can a computer work without an operating system?
A computer can perform limited firmware-level operations without a general-purpose operating system, but normal everyday computing generally requires an OS.
Conclusion
An Operating System is one of the most important components of a modern computer system.
It manages hardware resources such as:
- CPU
- RAM
- Storage
- Input devices
- Output devices
- Network devices
It also manages software resources such as:
- Applications
- Processes
- Files
- User accounts
- Security permissions
A simple way to remember its position is:
User → Application → Operating System → Hardware
The operating system works as a bridge between applications and physical hardware.
Examples include:
- Windows
- macOS
- Linux
- Android
- iOS
This chapter provides an overview of operating systems. In the next sections, important OS concepts can be studied separately in greater depth, including functions of an operating system, types of operating systems, kernel, process management, CPU scheduling, memory management, file systems, device management, boot process, user interfaces, and operating system security.
