When you take a loan, the bank gives you a lump sum today. In exchange, you pay them an annuity. That's it — same math, just from the bank's perspective.