Fork() is a system call which is used to duplicate the process its mean that fork create a new process which is known as child process. Child process has no separate process context it use the process context of parent or we can say that child use the code segment, data segment and stack segment also. Child and parent both are run simultaneously so that both process end same time.