The Big Picture: A Stack of Helpers

Before we name every part, understand this one idea: a computer is organized in layers.

Think of a restaurant. You (the customer) talk to the waiter. The waiter talks to the kitchen. The kitchen uses the stove and the fridge. Nobody needs the whole picture. You only deal with the layer next to you.

A computer works the same way:

┌─────────────────────────────────────────────────────────┐
│  USER EXPERIENCE (Applications, Browser, Office)         │
├─────────────────────────────────────────────────────────┤
│  OPERATING SYSTEM (Windows Kernel, Drivers, Services)    │
├─────────────────────────────────────────────────────────┤
│  FIRMWARE (BIOS/UEFI, Device Controllers)               │
├─────────────────────────────────────────────────────────┤
│  HARDWARE (CPU, RAM, Storage, Network, GPU)              │
├─────────────────────────────────────────────────────────┤
│  ELECTRICITY (Power supply, Motherboard power)           │
└─────────────────────────────────────────────────────────┘

New words in this picture:

TermPlain meaning
Operating system (OS)The main program that runs the computer (Windows)
KernelThe heart of the OS, the part with the most power
DriverA small program that knows how to talk to one kind of hardware
FirmwareSmall programs stored inside a chip, so they are there even when the power is off
BIOS / UEFIThe firmware that wakes the computer up when you press the power button

What Each Layer Does

Each layer:

  • Depends on the layer below it. The OS cannot run without hardware.
  • Hides the complexity of the layer below from the layer above. This hiding is called abstraction. You click an icon; you do not think about electrons.
  • Can only directly control certain components. An application cannot reach into the hardware by itself.

Worked Example: Opening Chrome

Example: When you open Chrome, every layer does a small job:

StepLayerWhat happens
1User Experience LayerYou double-click the Chrome icon
2OS LayerWindows creates a process (a running program), gives it memory, and loads the program file
3Firmware/Driver LayerThe disk driver reads the Chrome program file from storage
4Hardware LayerElectrical signals flow through the disk controller, and the storage device sends back the bits (the 1s and 0s)
5Electricity LayerElectrons move through the circuits. This powers everything above

Summary

IdeaPlain meaning
LayersA stack where each level uses the one below it
AbstractionEach layer hides the messy details underneath
Five layersElectricity, hardware, firmware, operating system, applications
ExampleOpening Chrome touches all five layers