CPU, Memory and Storage: What Happens When You Open an App
Every computer, phone and tablet has three main parts that do the work: the CPU, the memory (RAM) and the storage. Knowing what each one does explains why a phone gets slow, why apps take a moment to open, and what the numbers on a laptop's spec sheet mean.
What You'll Learn
- What the CPU, RAM and storage each do, with one simple picture
- The difference between memory and storage, the most common mix-up
- What happens, step by step, when you tap an app
- How to read the basic specs of a phone or laptop
A student at a desk
Picture a student studying for an exam.
- The student's brain does the thinking. That is the CPU.
- The desk holds the books and notes being used right now. That is the RAM.
- The bookshelf in the room holds every book the student owns. That is the storage.
The student can only read what is open on the desk. To use a book from the shelf, they first have to get up, fetch it and open it on the desk. A bigger desk means more books can be open at once. A faster student means work gets done quicker. A bigger shelf means more books can be kept.
Keep this picture in mind. The rest of the lesson fills in the details.
The CPU: the part that thinks
The CPU (central processing unit) is the chip that follows instructions. Every app is a long list of small, simple instructions, like "add these two numbers", "compare these two values" or "move this number over there".
The CPU does these steps very fast, billions of times per second. Its speed is often given in GHz (gigahertz). One GHz means about a billion small steps per second.
Most CPUs today have several cores. Each core is like a separate worker that can follow its own list of instructions. A CPU with 8 cores can work on several things at the same time, such as playing music while you browse.
Phones and many laptops put the CPU and other parts on one chip. The idea stays the same.
RAM: the working space
RAM (random access memory) holds whatever the computer is working on right now: the apps you have open, the web page you are reading, the photo you are editing.
RAM is fast, so the CPU can read from it quickly. But it has two limits:
- It is smaller than storage. A phone may have 8 GB of RAM but 128 GB of storage.
- It forgets everything when the power goes off. RAM only holds data while the device is on.
When RAM fills up, the device has to make space. It closes apps in the background or moves some data out to storage for a while. Both make things feel slow. This is why a phone with more RAM can keep more apps open without reloading them.
Storage: the long-term shelf
Storage keeps your files, photos, apps and the operating system itself, even when the device is off.
Most phones and laptops use an SSD (solid state drive) or a similar flash chip. Older computers used a hard drive (HDD), which has a spinning disk inside. SSDs are much faster and have no moving parts, which is one big reason a new computer feels faster than an old one.
Storage is large and keeps data safe, but it is slower than RAM. That is why the computer copies what it needs from storage into RAM before using it.
Three parts, three different jobs. Most slowdowns come from one of them being too small or too busy.
| Criteria | CPU | RAM (memory) | Storage |
|---|---|---|---|
| In the student picture | The brain | The desk | The bookshelf |
| Job | Follows instructions | Holds what is in use now | Keeps everything long term |
| Keeps data when off | No | No | Yes |
| Typical size on a phone | Measured in cores and GHz | A few GB | Tens or hundreds of GB |
| Sign it is too small | Tasks feel slow | Apps reload when you switch | Storage full warnings |
CPU
- In the student picture
- The brain
- Job
- Follows instructions
- Keeps data when off
- No
- Typical size on a phone
- Measured in cores and GHz
- Sign it is too small
- Tasks feel slow
RAM (memory)
- In the student picture
- The desk
- Job
- Holds what is in use now
- Keeps data when off
- No
- Typical size on a phone
- A few GB
- Sign it is too small
- Apps reload when you switch
Storage
- In the student picture
- The bookshelf
- Job
- Keeps everything long term
- Keeps data when off
- Yes
- Typical size on a phone
- Tens or hundreds of GB
- Sign it is too small
- Storage full warnings
Memory vs storage: the common mix-up
People often say "my phone has 128 GB of memory" when they mean storage. Shops sometimes mix them up too.
Here is a simple test. If the number is about how many photos and apps you can keep, it is storage. If it is about how many apps can run at once without slowing down, it is RAM.
Deleting old photos frees storage. It does not give you more RAM. Closing apps frees RAM. It does not give you more storage.
What happens when you open an app
Now let us put the three parts together. You tap the icon for a chat app.
- You tapThe touch screen tells the system which icon you pressed
- Load from storageThe app's files are copied from storage into RAM
- CPU runs itThe CPU starts following the app's instructions from RAM
- Screen updatesThe result is drawn as pixels on your screen
- You tap the icon. The screen senses where your finger is and the operating system works out which app you chose.
- The app loads. Its instructions and files are copied from storage into RAM. This is the short wait you see on the first open.
- The CPU runs it. The CPU reads instructions from RAM and follows them, one small step after another.
- The screen updates. The app's picture is drawn as millions of pixels.
If you switch away and come back a minute later, the app often opens instantly. That is because it is still sitting in RAM. Step 2 is skipped. If RAM was full and the app was pushed out, it has to load again from storage, and you see it restart.
Other parts you will hear about
- GPU (graphics processing unit): a chip with many small cores, built to do lots of simple math at the same time. It draws games and video, and it is also why AI runs on GPUs. The course AI Hardware Explained covers this.
- Battery and power: more work for the CPU means more power used and more heat.
- Input and output: the keyboard, touch screen, camera, microphone, speakers and screen. They are how data gets in and out.
Reading a spec sheet
Next time you look at a phone or laptop, you can read the main lines:
| Spec line | What it tells you |
|---|---|
| Processor or chip, cores, GHz | How fast it can think |
| RAM, for example 8 GB | How many apps run smoothly at once |
| Storage, for example 256 GB | How many files and apps you can keep |
| SSD vs HDD | SSD is much faster to start and load |
For most students, enough RAM and an SSD matter more for daily speed than the highest GHz number. If you plan to run AI models on your own computer, RAM matters even more. Run AI on Your Own Computer explains why.
Key Takeaways
- The CPU follows instructions, the RAM holds what is in use now, and storage keeps everything long term.
- Think of a student: the brain is the CPU, the desk is RAM, the bookshelf is storage.
- RAM is fast but small and forgets everything when the power goes off. Storage is large and keeps data, but it is slower.
- Opening an app means copying it from storage into RAM so the CPU can run it.
- Deleting files frees storage. Closing apps frees RAM. They are different things.
Quiz
Up next ยท Lesson 3 of 6
Operating Systems, Files and Processes
5 min read
2 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.

