What a computer actually is
A computer is a machine that takes something from you, works on it, and hands the result back. That one sentence is true of a laptop, true of a phone, and true of the machine that just sent you this page.
- Lesson 1 of 12
- Beginner
- Free, no signup
The five things every computer has
- Input
- Processing
- Memory
- Storage
- Output
These five are roles, not parts. In a phone all five sit inside one body, and in a server the input and the output have no physical shape at all.
Last checked: Facts and tool names in this lesson are re-checked against their sources on this date.
What does a computer actually do?
Three jobs, always in that order. It takes something in, it works on it, it puts a result out. The formal names are input, processing and output, and you will find those three in anything people call a computer.
A simple example. You punch two numbers into a calculator: pressing the keys is input, adding them is processing, the number appearing on the display is output. Now compare that with a messaging app. Typing the message is input, getting it to the other side is processing, and the message your contact sees is output. The example changed and the three jobs stayed the same three.
Between those three sit two more things that plain explanations usually drop, and dropping them is what breaks the picture: memory and storage. Memory is where the machine holds what it needs this very second. Storage is where things stay after the machine is switched off. We come back to the difference further down, because it is one of the places almost everybody gets wrong at first.
The size of the machine and its price have nothing to do with this definition. A pocket calculator does these three jobs and a supercomputer does the same three. The difference is speed, and how many jobs run at the same time, not the nature of the work.

So is my phone a computer too?
Yes, and somebody should have told you that sooner. Your phone is a complete computer. It has a processor, it has memory, it has storage space, its input is the touchscreen and the microphone and the camera, and its output is the screen and the speaker. The only difference from a laptop is its shape and the jobs it was built for.
We are in the habit of saving the word computer for the box that sits on a desk. That is a habit of language, not a technical distinction. Drop it and a few things fall into place: why a phone slows down like a laptop does, why its space fills up, and why an update arrives for it every so often. All of those are things that happen to a computer, and a phone is one.
One fact breaks the habit completely: the first machines people called computers had neither the monitor we know nor a keyboard. They printed the answer on paper or showed it with lamps. The Computer History Museum keeps photographs of those machines, and looking at them settles the point: being a computer is not about having a screen.
Six things in your home that are computers
You cannot install any program you like on any of these. Being a computer means they do those same three jobs, not that they can do anything.
What is the difference between hardware and software?
This is the one distinction you genuinely have to learn in this lesson. Everything else follows from it.
Hardware is the part that breaks if you drop it. The screen, the keyboard, the processor, the memory, the battery. Things with weight, things you can hold.
Software is instruction. A written text that tells the hardware what to do. Windows is software, the messaging app on your phone is software, the browser you are reading this page in is software. Throw the machine out of a window and the hardware breaks while nothing at all happens to the software, because there was never a physical thing there to break.
Neither is any use without the other. Hardware with no software is an expensive box that gets warm. Software with no hardware is a text that runs nowhere. What brings the two together is the operating system: software whose job is to run the hardware and let the other software reach it. Windows, Android and iOS all do that one job.
One practical consequence of the distinction, useful from day one. When somebody says their computer is broken, the first question is which half. The machine will not turn on at all? That is hardware, and it belongs to a repair technician. It turns on but one program will not open or throws an error? That is software, and most of the time you can handle it yourself.
Hardware, software, and what stands between them
Hardware
anything with weight, anything that breaks
- Screen, keyboard, battery
- Processor and memory, which stay out of sight
- Changed by buying, not by installing
Software
a text that says what should happen
- Browser, messenger, photo editor
- Changed by installing and removing
- If the machine breaks, it is still intact
What brings these two together is the operating system
The operating system
the software that lets other software reach the hardware
- Windows, Android, iOS, Linux
- Decides how much memory each program gets
- Without it every program would have to talk to every part itself
The border is not always clean. A small layer of software is written inside the parts themselves, sold with them, and a user normally never sees it.
Memory and storage are not the same thing
Almost everybody mixes these two up at first, and salespeople do not help, because both are measured in gigabytes.
Memory, or RAM, is the machine desk. Everything open at this moment is spread out on that desk. A bigger desk means you can keep more things open at once. Switch the machine off and the desk is cleared; nothing stays on it.
Storage is the drawer of that same desk. Whatever you put in there is still in place after the machine is turned off and on again. Your photos, your videos and your files live here.
So when a big number of gigabytes is printed on a phone box, they almost always mean the drawer, not the desk. And when a machine gets slow with a few programs open, it is usually the desk that is small, not the drawer. The details come in the lesson on computer parts, and for today it is enough that you do not confuse the two.
What do you do with this now?
A ten minute job that is worth more than reading this page again: go and find those five parts on your own device.
You can see the inputs: keyboard, mouse, touchscreen, microphone, camera. You can see the outputs too: screen, speaker, and a printer if you have one. The processor and the memory you cannot see, but their names are written somewhere on the device; inside Settings on Windows, under About phone on Android. Storage is the same place that tells you how much space is left.
Once you have seen those five on your own machine, the next lesson in this path starts to mean something: what shapes those same five take in different machines, and why the computer that websites sit on is not like your laptop. And if you want to know which of the five the artificial intelligence everyone is talking about actually rides on, the lesson on what AI is answers that.
AI in this kind of work
This is exactly the job good language models are for: answering the questions you would be embarrassed to ask a person. What does this word on the box mean, what is this message telling me, what is the difference between these two. The answer comes at once and nobody gets tired of you. One rule from the start though: type, do not paste. Write the question out by hand and try the answer on your own machine. Learning happens through the finger, not through the eye, and someone who only copies the answer has the same question again next time.
Tools that actually help
- Gemini It has a separate mode for learning called Guided Learning that asks questions instead of handing over answers and walks you to the result step by step. Google introduced the mode itself in September 2025. For a beginner it beats the normal mode, because its slowness is the learning. Google own page says the Gemini web app runs in over 230 countries and territories, and Iran is not on that list.
- Claude Good for when it has explained once and you did not follow. Say you did not understand and ask for it simpler, and it explains again from a different angle; a recorded video cannot do that. Iran is on neither of Anthropic two supported-countries lists, and we read that on Anthropic own page rather than measuring it.
- Gemini Notebook If you have your device manual, hand it the file instead of hunting through it and ask your questions of that document. The answers come from the source you supplied rather than from the model memory, which makes a real difference for a manual nobody has the patience to read.
Where it backfires
The risk here is bigger for a beginner than for a professional, and the reason is simple: you cannot yet spot a wrong answer. In the same confident tone the model will invent the name of a setting in Windows that does not exist, or give you a path that lives somewhere else in your version. Anthropic itself calls this hallucination in its own documentation and explains how to reduce it, which means the vendor treats it as a real weakness rather than a rumour. Your rule is this: anything the model says about your machine has to be seen on your machine. If it says an option is on a certain screen and it is not there, the mistake is not yours; ask again and describe what you actually saw. And for how each of these tools can be reached and paid for from Iran, the buying guide collects exactly that.
Sources: Google: Guided Learning in Gemini Google: where you can use the Gemini web app Anthropic: supported countries Anthropic: reduce hallucinations
Where this advice stops
This definition is deliberately kept small. A real computer has other parts that were not named here: the motherboard, the power supply, the graphics card, the network card. More importantly, understanding the definition gives you no skill. After this lesson you still do not know which laptop to buy, why your machine got slow, or where the file you lost went. Those have their own answers later in this path. What this lesson does is make the rest of them mean something.
From our own work
On the day this lesson was checked we counted those same five on the server that handed you this page. The command nproc said it has four processing cores, free -h reported about eight gigabytes of memory, and df -h showed a 75 gigabyte disk that is nearly full. So far it sounds like an ordinary laptop. Here is what is different: this machine has no keyboard, no mouse and no monitor, and nobody is sitting at it. Its input is the request your browser sent, and its output is the text you are reading. The same five parts, without a single one of them being visible. The same one machine also serves several other sites of ours at the same time.
Real follow-up questions
What is the difference between a computer and a laptop?
It is not a difference in kind, it is a difference in naming. A laptop is a computer whose parts have been packed into one folding body, with a battery, so it can be carried. The box on the desk is a computer too; its parts are just more spread out and usually easier to replace.
What is a computer good for without the internet?
For exactly what it was built for: calculating, writing, storing, playing things back. The internet is an extra capability bolted onto a computer, not part of its definition. Writing a letter, editing a photo, watching a film that is on the device and working in a spreadsheet all happen with no internet at all.
If a phone is a computer, why can it not do everything?
Because its maker decides what may run on it, and because its screen and keyboard were not built for long work. The limit here is not a hardware limit, it is a choice: the same parts in a different body with a different operating system would do different things.