Rule 523 dictates the debts you can't erase through bankruptcy (and the list might surprise you).
When a company is looking to raise third-party capital, it will frequently sell equity in the form of securities issued by the company.  The U.S.