The real estate agent gets a commission from the sale of the property