Agriculture generated 22.3 percent of the GDP in 1998, and the major products are rice, coffee, pineapples, and palm kernels. Industry provided 35.3 percent of the GDP. The most important part of the industrial sector is mining, providing approximately 20 percent of GDP. Guinea has major mineral resources and is the world's second largest bauxite producer (bauxite is used to produce aluminum). Services were estimated to provide 42.4 percent of the GDP in 1998.