What happens when you turn on a computer
When you press the power button, your computer runs through a fixed sequence: the power supply wakes up, the motherboard (the main circuit board) checks that all parts are connected, the processor starts reading instructions from a chip called the BIOS or UEFI, and then the operating system loads from your hard drive or solid-state drive into RAM (the fast temporary memory). From that moment until you shut down, the processor is running instructions in a loop—reading what to do, doing it, and moving to the next instruction thousands of times per second.
The speed at which this happens is measured in gigahertz (GHz). A processor running at 3 GHz completes 3 billion instruction cycles per second. That raw speed is why a modern computer can display video, respond to your mouse, and run multiple programs at once without you noticing any single task is actually happening in tiny fragments.
Key Takeaways
- A computer's processor reads and executes instructions from memory billions of times per second, and the operating system manages which program gets the processor's attention at any given moment.
- RAM is temporary, fast memory that holds the instructions and data your processor needs right now; storage (hard drive or SSD) is permanent but slower, and holds everything when the computer is off.
- The motherboard is the circuit board that connects the processor, memory, storage, and all other parts so they can communicate with each other.
- Your monitor, keyboard, and other devices connect to the computer through ports and are controlled by small programs called drivers that translate between the operating system and the hardware.
The processor: the brain that follows instructions
The processor (or CPU, for central processing unit) is the part that actually does the work. It does not think or decide—it follows instructions written in a language it understands, one instruction at a time. Those instructions come from the software you run: your web browser, a word processor, a game, or the operating system itself.
Modern processors have multiple cores, which means they can work on several instructions at the same time. A quad-core processor has four separate execution paths, so it can run four instruction sequences in parallel. This is why a computer with more cores can handle more tasks at once without slowing down.
The processor is connected to the rest of the computer through the motherboard. It sends requests to memory ("give me the data at this address"), receives answers, and sends instructions to other parts like the graphics card or storage controller. Everything the processor does is timed by a crystal oscillator—a piece of quartz that vibrates at a precise frequency and acts as the computer's clock.
Memory: fast temporary storage versus permanent storage
RAM (random-access memory) is the fast, temporary workspace. When you open a program, the operating system copies it from your hard drive into RAM. The processor reads instructions and data from RAM because RAM is hundreds of times faster than a hard drive. But RAM is volatile—it only holds data while power is on. When you shut down, everything in RAM disappears.
Storage—a hard drive or solid-state drive (SSD)—is permanent. It holds your operating system, programs, documents, photos, and everything else. It is much slower than RAM, which is why the computer does not run programs directly from storage. Instead, it copies them into RAM first, and the processor works with the copy.
The size of your RAM affects how many programs you can run smoothly at once. If you have 8 GB of RAM and you open ten large programs, the operating system has to move data in and out of RAM constantly, which slows everything down. Storage size determines how much you can save on your computer. A 256 GB SSD holds fewer files than a 1 TB SSD, but both work at the same speed once data is loaded into RAM.
The motherboard: the circuit that connects everything
The motherboard is the main circuit board. Every part of your computer plugs into it or connects through it: the processor, RAM, storage, graphics card, power supply, and every port on the back. The motherboard has pathways called buses that carry electrical signals between these parts.
When your processor needs data from RAM, it sends a signal through the motherboard. When you plug in a USB device, the motherboard detects it and tells the operating system a new device is present. The motherboard also contains the BIOS or UEFI—a small program that runs before the operating system loads and checks that all the hardware is working.
Different motherboards support different processors and types of RAM, which is why you cannot just swap a processor from one computer into another. The motherboard has a specific socket (the slot where the processor sits) designed for certain processor models, and RAM slots designed for certain memory types.
The operating system: the traffic controller
The operating system (Windows, macOS, Linux) is a program that runs before any other program and never stops running while the computer is on. Its job is to manage everything: it decides which program gets to use the processor at any moment, it manages RAM so programs do not overwrite each other's data, it controls which program can read or write to storage, and it handles communication with all the hardware.
When you open multiple programs, the operating system divides the processor's time between them in tiny slices—each program gets a few milliseconds, then the next program gets a turn. This happens so fast that it looks like all programs are running at the same time. The operating system also prevents one program from crashing the whole computer by isolating each program in its own protected memory space.
Drivers are small programs that translate between the operating system and specific hardware. Your printer has a driver, your graphics card has a driver, and your network card has a driver. The driver tells the operating system how to talk to that piece of hardware, and tells the hardware what the operating system wants it to do.
Graphics and display: how the image gets to your screen
Your monitor is not connected directly to the processor. Instead, it connects to a graphics card (or graphics processor), which is a specialized computer inside your computer. The graphics card has its own processor and its own memory, and its only job is to draw images and send them to the monitor.
When a program wants to display something—text, a photo, a video, a 3D game scene—it sends instructions to the graphics card. The graphics card calculates what each pixel (dot) on the screen should be, stores that image in its memory, and sends it to the monitor 60 times per second (or more, depending on your monitor's refresh rate). This is why a faster graphics card makes games and video editing smoother.
Some computers have integrated graphics, which means the graphics processor is built into the main processor and shares the computer's RAM. Others have a dedicated graphics card, which is faster but uses more power and generates more heat. Laptops usually have integrated graphics to save battery life.
Power, cooling, and how heat is managed
The power supply converts electricity from the wall outlet into the right voltage and current for each part of the computer. The processor, RAM, and motherboard all need different voltages, and the power supply delivers the correct amount to each.
All this electrical work generates heat. A processor running at full load can reach 80 to 100 degrees Celsius (176 to 212 degrees Fahrenheit). To keep it cool, the computer has a heatsink—a piece of metal with fins that sits on top of the processor and absorbs heat—and a fan that blows air through the heatsink to carry the heat away. Laptops and desktops have different cooling designs because laptops have less space, but both need to move heat out of the case or the processor will throttle (slow down) to protect itself.
If a computer is too hot, the operating system will shut it down automatically to prevent damage. If you notice your computer is loud (the fan running hard) or hot to the touch, it usually means dust has clogged the heatsink or fan, and cleaning it out will help. Never block the vents on your computer.
Frequently Asked Questions
Why does my computer slow down when I have many programs open?
The operating system divides the processor's time between programs, so each one gets less processor attention. If you run out of RAM, the operating system has to move data to storage, which is much slower. Closing programs you are not using frees up RAM and processor time for the programs you are using.
What is the difference between a hard drive and an SSD?
A hard drive uses a spinning magnetic disk and a moving read head, like a record player. An SSD has no moving parts and stores data in flash memory chips. SSDs are faster, more reliable, and use less power, but hard drives are cheaper per gigabyte. Most new computers come with SSDs.
Can I upgrade my computer by adding more RAM?
Yes, if your motherboard has empty RAM slots. More RAM lets you run more programs at once without slowdown. Check your computer's manual or use a system information tool to see how much RAM you have and how many slots are available. Some laptops have RAM soldered to the motherboard and cannot be upgraded.
Why does my computer need a driver for my printer?
The operating system does not know how to talk to every printer model. The driver is a translator—it tells the operating system how to send print jobs to your specific printer, and tells the printer what the operating system wants it to do. Without the driver, the operating system cannot communicate with the printer.
What happens if my computer overheats?
The processor will slow itself down to reduce heat generation. If it gets too hot, the operating system will shut the computer down to prevent damage to the processor or other components. Check that the vents are not blocked and the fan is spinning. If the computer still overheats, the heatsink or fan may need cleaning or replacement.