Lesson 1.2 Category: Module 1 · Your digital world

Hardware, Software, and Operating Systems

Every device is made of physical parts and instructions, and the operating system is the manager that keeps them working together.

What you’ll understand

  • The difference between hardware and software.
  • What an operating system does, and why every device has one.
  • Why this matters for security, especially updates.

You tap a photo on your phone and it opens. It feels like one simple action. Behind it, several different parts are cooperating: a glass screen that noticed your finger, a tiny processor that did the work, storage that held the photo, and several layers of instructions telling each part what to do.

Security problems can happen at any of those layers. So before we talk about protecting a device, it helps to know what a device actually is.

Hardware: the parts you can touch

Hardware is the physical equipment. If you could drop it on your foot, it is hardware.

  • The screen, keyboard, camera, and speakers.
  • The processor, sometimes called the CPU (central processing unit), which carries out instructions very quickly.
  • Memory (RAM, random-access memory), the short-term workspace a device uses while it is switched on.
  • Storage, such as a solid-state drive, which keeps files even after the power is off.

Hardware is powerful but helpless. On its own, a processor doesn’t know what a photo is, or what “open” means. It needs instructions.

Software: the instructions

Software is the set of instructions that tells hardware what to do. Apps are software. So is a web browser, a game, and the calculator on your phone.

A simple way to picture it: hardware is a kitchen, and software is a recipe. The kitchen has an oven and knives, but nothing gets cooked until someone follows a recipe. Different recipes make the same kitchen produce soup or cake.

The comparison has a limit. A recipe is followed by a thinking cook, who would notice if a step said “add three kilograms of salt.” A computer follows instructions exactly, even silly or harmful ones. That is why badly written or malicious software can cause trouble: the hardware won’t question it.

The operating system: the manager

If every app talked to the hardware directly, things would be chaos. Two apps might try to use the camera at once, or one app might read another app’s private files.

The operating system, or OS, prevents that. It is the main piece of software that runs the whole device and manages everything else. Common examples are Windows, macOS, and Linux on computers, and Android and iOS on phones.

The operating system:

  • Starts the device and keeps it running.
  • Shares the processor, memory, and storage between apps.
  • Manages files and folders.
  • Controls permissions, such as which app may use the microphone or see your location.
  • Provides the screens you use to open apps and change settings.
  1. YouTap, type, and decide what to open.
  2. AppsBrowser, messages, games, banking: each does one kind of job.
  3. Operating systemShares the hardware fairly, manages files, and enforces permissions.
  4. HardwareProcessor, memory, storage, screen, camera, and other physical parts.
Each layer relies on the one below it. You rarely talk to hardware directly: apps ask the operating system, and the operating system manages the hardware.

A concrete example

Say you open a messaging app and tap the button to record a voice note.

  1. The app asks the operating system for the microphone.
  2. The operating system checks whether you gave this app permission. If you didn’t, it asks you.
  3. If you say yes, the operating system lets the app receive sound from the microphone hardware.
  4. When you finish, the app asks the operating system to save the recording to storage.

That permission question is a small security feature you have probably seen many times. The operating system is acting like a receptionist who checks the visitor list before letting anyone into a room.

Why it matters for security

Because the operating system controls so much, a flaw in it can affect everything on the device. That is why operating system updates matter so much. Many updates fix security weaknesses that were discovered after the device was sold.

Apps can have flaws too, so app updates matter as well. And old hardware eventually stops receiving operating system updates. When that happens, newly discovered weaknesses stay unfixed forever, which is a good reason to check how long your devices will be supported.

A common mix-up

People sometimes call the whole device “the software” or call the operating system “the internet.” They are different things. A phone with no internet connection still has hardware, an operating system, and apps. It simply can’t reach other devices until it connects to a network, which is the topic of the next lesson.

Try it safely

On a device you own, open Settings and find the section usually called “About” (on some phones it is “About phone”, on Windows it is under “System”). Look for the operating system name and version. Then find the section that lists app permissions and see which apps can use your camera or location. Just look. Don’t change anything you’re unsure about.

Check your understanding

Is a web browser hardware or software?

Answer: Software. It is a set of instructions that runs on the device. You can’t touch a browser, only the screen it appears on.

Name two jobs an operating system does.

Answer: Any two of: starting the device, sharing the processor and memory between apps, managing files, controlling app permissions, and providing settings screens.

Why do operating system updates matter for security?

Answer: The operating system controls the whole device, so a weakness in it can affect everything. Updates often fix weaknesses found after the device was released.

The key idea

Hardware is the physical device, software is the instructions it follows, and the operating system is the manager that shares the hardware and enforces the rules. Keeping that manager updated is one of the simplest ways to stay safer.