Third-party applications and software can also be why the screenshot function is not working on Mac. If you think that is the issue, try uninstalling the application and checking if it fixed the problem.