What role does the file system play in the include function in PHP and how does it impact the inclusion of files?

When using the include function in PHP, the file system plays a crucial role in locating and including the specified file. The file system determines the path to the file being included, so it is important to ensure that the file path is correct to avoid errors in file inclusion.

include 'path/to/file.php';