A legal agreement for a party such as a bank or building society (lender) to lend another party (borrower) a debt, in exchange for taking title of the borrower’s property until the debt is repaid. A mortgage is not the debt, but rather the lender’s collateral for the debt.