This is the second major type of mortgage.
Your monthly repayments to the lender are covering the interest and the capital.
Your lender might insist on a life insurance in case you die before the end of the repayments.