A process is a running [[Program]], where the instructions and data for the [[Program]] have been loaded into [[RAM]] and is being executed. ## Initialization from a Program The [[Operating System]] creates an object called a [[Process Control Block]] to keep track of data to do with the process, a long with a unique [[PID]], the [[Program]] is then loaded from [[Disk]] into [[RAM]]. After the instructions are loaded into RAM, it creates [[The Stack]] and [[The Heap]] of the process. ![[../../00 Asset Bank/Pasted image 20240920181824.png|invert_B]] ## Running Processes When a process is "running" it is loaded into [[RAM]], but is not being executed constantly - as the [[Operating System]] will be switching between different processes to run, so "running" processes can be in different [[Process States]] (which is included in [[Process Control Block]])