This storage management utility is helpful, and it can help you better understand which files are consuming a hard disk.
The macOS storage management utility (which in macOS 12.0 and later is accessed by clicking the Apple icon, clicking About This Mac, selecting the Storage tab, and clicking the Manage icon) provides multiple options for identifying and removing unnecessary files and even optimizing storage.
2021 event: What you need to know (free PDF)