A bank loan is one form of debt.
You get what you want, and you pay for it over time, including interest, just like a bank loan.