For macOS Big Sur, macOS Catalina, macOS Mojave or macOS High Sierra, the links download an installer directly into your app folder. To ensure that you’re getting a valid, un-hacked, and legal version of macOS, you need to download it directly from Apple.
The macOS Big Sur download page in the Mac App Store