Bankruptcy is an inability to pay debts. Chapter 11 of the Bankruptcy Code deals with reorganization, which allows the debtor to remain in business and negotiate a restructuring of debt. There are two kinds of bankruptcy: involuntary, when a debtor is judged insolvent by the courts, and voluntary, when the debtor brings the petition.