The average developing country lives off exporting commodities like oil, gas, copper, cocoa or soybeans. The sale of these resources brings both revenue to the government and foreign currency to import what is not produced at home – which, in these places, tends to be most things.