If your Mac is running low on storage, chances are that duplicate files and photos occupy a significant part of it. If the number is low, you can get away by performing a manual search, a terminal ...
If you are running out of space on your Mac, it could be due to duplicate files. But manually finding duplicate files can be really time-consuming and you may delete the wrong files in the process.