How can the use of DOCUMENT_ROOT in PHP help resolve path issues when including files?

When including files in PHP, path issues can arise if the file paths are not specified correctly. Using the `DOCUMENT_ROOT` variable in PHP can help resolve these path issues by providing the absolute path to the root directory of the web server. This ensures that included files are referenced correctly regardless of the file's location in the directory structure.

<?php
include $_SERVER['DOCUMENT_ROOT'] . '/path/to/your/file.php';
?>