If you purchase a freehold business you will essentially own the entire property as well as the business.
However, if you purchase a leasehold business you are renting the business space within the property for a length of time depending upon the lease agreement.