Debtor (Finance)
A debtor is any person or entity that owes money to another party - the borrower's side of every credit relationship. A homeowner with a mortgage, a government that has issued bonds, a company that took out a business loan, and a consumer carrying a credit card balance are all debtors to their respective creditors.
The term becomes especially relevant around default and bankruptcy: in a company bankruptcy, the business itself is the debtor, and the legal process exists to sort out how much of what's owed to each creditor can actually be recovered from the debtor's remaining assets. Debtor and creditor are simply the two sides of the same lending relationship, applicable to individuals, companies, and even entire sovereign nations issuing government bonds.
Example: a country that issues $500 million in government bonds becomes the debtor to whoever buys those bonds. If the country later struggles to make interest payments, it's described as being at risk of a sovereign debt crisis - the same underlying debtor-creditor mechanics as any other loan, just at national scale.
The word matters most when there is not enough money to go round, because not all creditors are equal and the debtor's remaining assets are handed out in a fixed order. Secured creditors come first - lenders holding a claim on a specific asset, such as a mortgage on a building or a charge over inventory, who can take that asset regardless of what else happens. Then unsecured creditors in order of seniority: senior bondholders, then subordinated ones, with suppliers and employees sitting in the general unsecured pool in most jurisdictions, though many countries put unpaid wages and taxes ahead of it. Shareholders come last and usually receive nothing, which is what it means to say equity is wiped out.
This ordering is the whole reason bonds of the same company trade at different prices. Two bonds issued by one borrower, identical in every respect except that one is senior and the other subordinated, will yield noticeably different amounts, and the gap between them is the market pricing the difference in what each expects to recover if things go wrong. For anyone reading about a bankruptcy, the practical question is never simply whether the debtor can pay, but where in the queue a particular claim stands - the same company failing can mean full repayment at the top of the stack and nothing at all a few rungs below.