Operating Systems, Files and Processes
The CPU, RAM and storage are the body of a computer. The operating system is the manager that tells them what to do. Windows, macOS, Linux, Android and iOS are all operating systems.
In this lesson you will see what an operating system does all day, how files and folders work, and what a "process" is when your computer says an app is "not responding".
What You'll Learn
- What an operating system is and the main jobs it does
- How files, folders and file types work
- What a process is, and why apps sometimes freeze
- What drivers, updates and permissions are for
The operating system is the manager
Think of a school. There are classrooms (RAM), a library (storage), teachers (CPU cores) and hundreds of students who all want something (apps).
Without a principal, everyone would fight over rooms and teachers. The operating system (OS) is the principal. It decides who gets what, and when.
Every app you use asks the OS for help. A chat app does not talk to the Wi-Fi chip directly. It asks the OS to send a message. A photo app does not write to storage directly. It asks the OS to save the file. This keeps apps simpler and keeps the device safe.
The main jobs of an operating system
| Job | What it means | Everyday example |
|---|---|---|
| Run apps | Start, pause and stop programs | Opening a game |
| Share the CPU | Give each app short turns on the CPU | Music plays while you browse |
| Manage RAM | Decide which app gets which part of memory | Closing background apps when memory is full |
| Manage files | Keep track of where every file lives in storage | Finding a photo in your gallery |
| Talk to hardware | Use the screen, camera, Wi-Fi, speakers | Taking a photo |
| Keep things safe | Accounts, passwords, app permissions | Asking "Allow camera access?" |
Common operating systems:
Different operating systems, same basic jobs.
| Criteria | Windows | macOS | Linux | Android | iOS |
|---|---|---|---|---|---|
| Mostly on | PCs and laptops | Mac computers | Servers and some PCs | Most phones | iPhones |
| Made by | Microsoft | Apple | A global open community | Google, built on Linux | Apple |
Windows
- Mostly on
- PCs and laptops
- Made by
- Microsoft
macOS
- Mostly on
- Mac computers
- Made by
- Apple
Linux
- Mostly on
- Servers and some PCs
- Made by
- A global open community
Android
- Mostly on
- Most phones
- Made by
- Google, built on Linux
iOS
- Mostly on
- iPhones
- Made by
- Apple
Most of the world's servers, the computers that run websites and AI tools, use Linux. If you want to try it yourself, Linux Command Line Basics is a good next step.
Files: named boxes of bytes
A file is a named collection of bytes kept in storage. A photo is a file. A song is a file. An app is made of many files.
Every file has:
- A name, like
holiday.jpg - A type, often shown by the extension at the end of the name, like
.jpg - A size, in KB, MB or GB
- A location, the folder it lives in
The extension tells the OS which app should open the file:
| Extension | Kind of file | Usually opened with |
|---|---|---|
| .jpg, .png | Photo or image | A photo viewer |
| .mp3 | Music or audio | A music player |
| .mp4 | Video | A video player |
| Document with fixed layout | A PDF reader or browser | |
| .docx | Word document | A word processor |
| .zip | Compressed folder | The built-in unzip tool |
Be careful with unknown files that end in .exe, .apk or similar. These are programs, not documents. Opening one can install software on your device. Only open them if you trust where they came from.
Folders: boxes inside boxes
A folder (also called a directory) is a container that holds files and other folders. Folders inside folders make a tree.
For example, your school work might be stored like this: a Documents folder, inside it a School folder, inside that a Semester 1 folder, and inside that your essay file. The full route to a file is called its path.
Phones often hide folders and show your files by type instead: photos in the gallery, songs in the music app. The folders are still there underneath. The OS just shows you a simpler view.
Processes: apps that are running
An app sitting in storage is just files. When you open it, the OS loads it into RAM and starts it. A running copy of a program is called a process.
Your computer runs many processes at once, often more than a hundred. Most are small background jobs you never see: checking for updates, syncing your photos, keeping the clock right.
But a CPU core can only follow one list of instructions at a time. So how do so many processes run together? The OS gives each one a tiny turn on the CPU, many times per second. The turns are so short and fast that it looks like everything runs at once.
- Music appGets a tiny turn to play the next bit of sound
- BrowserGets a turn to draw part of the page
- Chat appGets a turn to check for new messages
- Back to musicThe cycle repeats many times per second
Why apps freeze
Sometimes an app shows "not responding". This usually means the process is stuck. It may be waiting for something slow, like a big file or the network, or it has hit a mistake in its own instructions.
Because the OS keeps processes apart, one stuck app usually does not crash the whole computer. You can close it:
- On Windows, the Task Manager shows running processes.
- On a Mac, Activity Monitor or Force Quit does the same.
- On a phone, swipe the app away from the recent apps screen.
These tools also show how much CPU and RAM each process uses. If your computer is slow, this is the first place to look.
Drivers, updates and permissions
Drivers are small programs that teach the OS how to use a specific piece of hardware, such as a printer or a graphics card. When a new device "does not work", a missing driver is often the reason.
Updates fix bugs and close security holes. Many attacks use old, known holes. Keeping your OS and apps updated is one of the easiest ways to stay safe.
Permissions control what each app can reach. When an app asks to use your camera, contacts or location, the OS is asking you to decide. A flashlight app has no good reason to read your contacts. Say no when the request does not make sense.
Key Takeaways
- The operating system manages the hardware and gives every app what it needs. Windows, macOS, Linux, Android and iOS are examples.
- A file is a named collection of bytes. Its extension, like
.jpgor.pdf, tells the OS what kind of file it is. - Folders hold files and other folders in a tree. The route to a file is its path.
- A process is a running program. The OS shares the CPU by giving each process tiny, fast turns.
- A frozen app is a stuck process. Close it with Task Manager, Activity Monitor or the recent apps screen.
- Keep your system updated and only give apps permissions they need.
Quiz
Up next ยท Lesson 4 of 6
How the Internet Moves Data: Packets, IP Addresses and Routers
5 min read
3 of 6 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

