When you are buying a real estate property with a mortgage, as a buyer you need to have enough money to put as a down payment.
Also, once you decide to sell the property, as a homeowner, you are entitled to receive the entire amount of proceeds after the sale.