Bankruptcy law allows debtors, who are unable or partially unable to pay outstanding debts, to rid themselves of these debts and obtain a fresh start. As stated by the US Supreme Court, bankruptcy gives “the honest but unfortunate debtor … a new opportunity in life and a clear field for the future, unhampered by the pressure and discouragement of preexisting debt.” (Local Loan Co. v. Hunt, 292 U.S. 234, 244 (1934)).
Federal bankruptcy law consists of statutes published in the Bankruptcy Code (11 U.S.C. §§ 101-1330). In addition, state statutory law on bankruptcy also address areas delegated to states or not covered by federal law. Debtors usually file bankruptcy cases in federal bankruptcy court (an adjunct of the federal district courts).
(Ref. https://www.justia.com/bankruptcy/faqs/#q1)