The main sectors of Hungarian industry are heavy industry (mining, metallurgy, machine and steel production), energy production, mechanical engineering, chemicals, food industry, and automobile production. The industry is leaning mainly on processing industry and (including construction) accounted for 29.32% of GDP in 2008. The leading industry is machinery, followed by the chemical industry (plastic production, pharmaceuticals), while mining, metallurgy and textile industry seemed to be losing importance in the past two decades. In spite of the significant drop in the last decade, the food industry still contributes up to 14% of total industrial production and amounts to 7–8% of the country's exports.