When a process is created (initialized or installed), the operating system creates a corresponding process control block, which specifies and tracks the process state (i.e. new, ready, running, waiting or terminated). Since it is used to track process information, the PCB plays a key role in context switching. (Wikipedia)
To create a process the operating system as to be able to :
- Identify it as distinct from any other processes active at the same time, normally by assigning it a numerical identifier.
- Assign it sufficient space in memory and ensure that it is loaded.
- Establish links between the process identifier and the resources (such as files) that it uses.
- Use the process identification information to track its state (ready, running, or suspended) and which instruction is required next.
The operating system builds such information either into a table of such control information, in which case the process identifier is normally the number of its position in the table, or in a free-standing process control block held in memory. Control information normally consists of the process identifier, process status, address in memory of next instruction to be fetched, saved contents of registers (when a process is not running), memory limits, and pointers to control information for resources associated with the process.
Source : https://www.sciencedirect.com/topics/computer-science/process-control-block As mentioned by Laurie S. Keller, in Encyclopedia of Physical Science and Technology (Third Edition)