Debt swaps take a variety of forms, but most involve conversion of hard currency
debt to local currency debt. When a lender realises it will probably never recoup, it sells the debt, at a discount, to another who then releases cash to the debtor country in local currency, and the donation supports environmental management or conservation.