Fork is a system call which creates a clone of the process which first calls fork() and is called the parent process and the cloned process the child process, the return value of fork call helps each process determine whether they are a parent or a child.