They likely have a commercial lease agreement established with the true owner of the building. This means when the business is sold, the seller will need to create a lease assignment which transfers their interest in the commercial lease over to the buyer.