Process termination
A process terminates when it finishes implementing its final statement and asks the operating system to delete it by using the exit system call. At that time the process might be return data to its parent processes. All the resources are deallocated by the operating system.