How do mortgages work?

Mortgages are loans taken out to purchase a property. The borrower (mortgagor) agrees to repay the loan over a certain period of time with interest to the…