It is very important to understand the transition of a piece of code to a process, how a process is born, and the states that it acquires during its lifetime and death.
In this article, we will explore in detail how a piece of code is converted first into a binary executable program and then into a process, identifiers associated with a process, the memory layout of a process, different states associated with a process and finally a brief summary of the complete life cycle of a process in Linux.