Yeah when you publish, normally it will goto somewhere remotely. This will enable features like if you update your program it can inform users that a new version is available and you can give them the option of downloading the newer version.
There is many more reasons for publishing but that is the first that came to mind.
sfx
There is many more reasons for publishing but that is the first that came to mind.

sfx