Every process has a current directory. When a process starts, it simply inherits the current directory from its parent process; and it’s not, for example, set to the directory which contains the program you are running.