When you pay or download for software you don’t own it, you are simply given the right to use it for specific purposes.
All software comes with a licence. A licence is a document which describes what you are allowed to do with it.
The two licences are: Proprietary and Open Source.