INDT interview question

How does the fork() system call works?