In a debt-for-equity swap, a company's creditors generally agree to cancel some or all of the debt in exchange for equity in the company.
Debt for equity deals often occur when large companies run into serious financial trouble, and often result in these companies being taken over by their principal creditors.