Process is an instance of a computer program that is being executed by one or many threads
Steps
Step 1: Whenever a NEW process is created, it is sent to the READY state.
Step 2: If there is no other process in the RUNNING state, the newly created process, which is in READY state, is sent to RUNNING state via some scheduler dispatch.
Step 3: If there is any higher priority process in the RUNNING state, the new process is sent to the WAITING state. Sometimes, some process waits for some input/output operations. After the completion of input/output operations, the process is sent to the READY state. In some cases, CPU temporarily suspends a RUNNING process, via some interrupt signal, to handle other higher priority tasks.
Step 4: After RUNNING of the process is complete, it is sent to TERMINATED state for execution.
