Public debt refers to the total amount of money that a government owes to creditors, which can include both domestic and foreign entities. It arises when a government borrows funds to cover budget deficits or finance expenditures that exceed its revenues, leading to an obligation to repay this borrowed amount with interest over time.