There are two different ways you can repay your mortgage: capital and interest or interest only.
With a capital and interest option, you pay off the loan as well as the interest on it. The mortgage should be fully paid off by the end of the full mortgage term.
With an interest only mortgage, you are not actually paying off any of the loan. At the end of the mortgage term, the original loan will still need to be paid back.