A mortgage is a loan that is used to finance your house. In order to secure the loan, you have to enter into an agreement with a lender, or bank. The lender will give you the loan as cash up front, which you will then pay back over a set time span until the loan is paid in full.