PHP is the programming language that builds every page of your WordPress site. Each version is supported for a limited period, after which it receives no security patches. Running an end of life version leaves known holes open, and hosts eventually force the change, sometimes with only a few weeks of notice. Newer versions are also faster, which helps pages load sooner and eases pressure on the server.
The catch is compatibility. Code written years ago may use features that newer PHP has removed or changed, and the result can be a fatal error that takes the site down. That is why a WordPress PHP upgrade is a planned job, not just a setting. Check the current supported versions on php.net and your host panel, as the list moves each year. Our fixes hub covers other site faults.