The money owed by one party, the borrower or debtor, to a second party, the lender or reditor. Debt is issued by firms through selling bonds to finance expansion plans. Governments finance budget deficits through selling government bonds (government debt).
Below is a graphical sequence of how the government issues debt to finance a budget deficit, with the dangers of accumulated large amounts of national debt.