An integral part of your monthly payment is designated for repayment, which is how you pay off your debt. Initially, this might be 2% in the first year, for example. Over time, this portion will gradually increase.
Why? You always pay the same rate, but interest is only calculated on your current debt (and thus decreases). Repayment compensates for that each time.