Fatal error occurred after downloading Themes and installing them and activated

fatal error: Call to undefined function get_parent_theme_file_path() in C:\xampp\htdocs\wordpress\wp-content\themes\construction-firm\function.php on line 242