Retiring an existing mortgage in exchange for a new loan, with the same real estate property used as collateral. Refinancing is done to take advantage of better loan terms, such as a lower interest rate.