What Is a Process in an Operating System?
What actually happens when a program is running on your computer.
What a process is
In an operating system, a process is a program that is actively running, along with everything it needs to run: its own area of memory, its current state, and the resources the operating system has given it. A program sitting on your disk is just a file; when you launch it, the operating system creates a process to actually execute it. Processes are a fundamental concept in how computers run software, because they represent programs in action rather than programs at rest.
Process vs. program
It helps to distinguish a process from a program. A program is a passive thing: the set of instructions stored as a file. A process is that program brought to life, running, using memory and the processor. The same program can even have several processes running at once, like opening multiple windows of the same application, each a separate process with its own memory. The program is the recipe; the process is the meal actually being cooked.
What a process contains
Each process has its own private workspace. This includes a section of memory holding the program's code and data, a record of its current state (such as which instruction is executing next), and the resources it has been allocated, like open files. Crucially, each process's memory is normally isolated from others, so one process cannot casually read or corrupt another's data. This isolation is key to stability and security: a crash in one process need not take down the others.
Managing many at once
Modern computers run many processes simultaneously, far more than there are processor cores. The operating system manages this by rapidly switching the processor's attention among processes, giving each a slice of time. This happens so fast that everything appears to run at once. The operating system decides which process runs when, a job called scheduling, balancing responsiveness and fairness. This juggling act is one of the core responsibilities of any operating system.
Processes and threads
Within a single process, there can be multiple 'threads', separate streams of execution that share the process's memory. A process is the larger container with its own isolated memory, while threads are the lighter-weight workers inside it that can run concurrently. This two-level structure, processes containing threads, lets software organize concurrent work: processes keep programs isolated from each other, while threads enable parallelism within a program. Together they shape how modern software runs.
Why it matters
Processes are a foundational concept for understanding how computers run software. Knowing that a process is a program in action, with its own memory and managed by the operating system, demystifies what is happening when you open apps, why they stay isolated from one another, and how a computer runs many things at once. It is a core idea behind task managers, system performance, and the whole experience of using a modern computer.
Related on Skillo
See also: What is an operating system? Explained, What is a thread in programming?.
Sources
Published date reflects the original event date (2024-02-13). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Written by
Skillo Staff
0 Comments
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.