South Africa's energy sector is critical to the economy as the country relies heavily on its large-scale, energy-intensive mining industry. South Africa has only small deposits of conventional oil and natural gas and uses its large coal deposits for most of its energy needs, particularly in the electricity sector. Most of the oil consumed in the country, used mainly in the transportation sector, is imported from large producers in the Middle East and West Africa and is locally refined. South Africa also has a highly developed synthetic fuels industry, producing gasoline and diesel fuels from coal and natural gas. The synthetic fuels industry accounts for nearly all of the country's domestically produced petroleum since crude oil production is trivial.