A mortgage is granting of a lien on real property, such as a home, by a debtor (borrower) to his creditor (lender), such that the property is security for the repayment on a loan. Once the loan is paid, the mortgage is discharged.