A computer chip, representing a process and a program.

The difference between code on disk and code running.

Process versus program

A program and a process are related but not the same thing. A program is a passive collection of instructions, typically stored as a file on disk. A process is an instance of a program that is actually being executed by the computer. In short, the program is the recipe, and the process is the act of cooking it. This distinction is fundamental to how operating systems work.

What a program is

A program is a set of instructions written to perform a particular task. When it is not running, it simply sits as a file in storage, doing nothing on its own. It is static: the same program file can be copied, moved, or left untouched, and nothing happens until it is launched. Only when the operating system loads and runs it does the program come to life as a process.

What a process is

A process is a program in execution. When you launch a program, the operating system creates a process for it, giving it the resources it needs to run, such as memory and processor time. The process carries the program's instructions along with its current activity. Unlike the static program file, a process is active and changing as it runs, representing the running state of the program.

One program, many processes

An important consequence of this distinction is that a single program can give rise to multiple processes. If you open the same application several times, the operating system may create several separate processes, each running the same program independently. Each process has its own execution and state, even though they all come from the same underlying program file. This is why the two ideas must be kept distinct.

Why the distinction matters

Understanding the difference between a process and a program clarifies how computers run software. The operating system manages processes - creating them, giving them resources, and ending them - while programs are just the stored instructions waiting to be run. This separation lets the system run many programs at once, each as one or more processes, and is central to how modern multitasking computers operate.

Why it matters

The process-versus-program distinction is a foundational concept in computing. Understanding that a program is stored instructions while a process is those instructions actually running clarifies much of how operating systems behave. For anyone curious about how software executes, grasping this difference is a valuable starting point for understanding processes, multitasking, and resource management.

See also: What is an operating system? Explained, What is a thread in programming?.

Sources

Published date reflects the original event date (2025-02-18). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.

Skillo Staff

Skillo Staff

All stories by: Skillo Staff

Leave a Reply