Web Download Destination

When you hit a "download" button on some web site, where does the downloaded file go? Just what are the rules for this? One example I tried makes me think that the non-extension part of the name of the downloaded file has something to do with where it goes.
Are you referring to on your phone? There are no rules but if you are using the native browser it will go to an app if you have one installed that handles that file extension.

Original thread: https://forums.imore.com/threads/web-download-destination.278519/