When a process has been created, it starts running an does its work.
The new process will terminate generally due to one of the following conditions, described in the table given below.
|Normal exit||In normal exit, process terminates because they have done their work successfully|
|Error exit||In error exit, the termination of a process is done because of an error caused by the process, sometime due to the program bug|
|Fatal exit||In fatal exit, process terminates because it discovers a fatal error|
|Killed by other process||In this reason or condition, a process might also terminate due to that it executes a system call that tells the operating system (OS) just to kill some other process|