Mexico is the second largest economy in Latin America. The country has an export-oriented economy: more than 90 percent of trade is under free trade agreements. In Mexico, services account for 62 percent of total GDP. The biggest segments within services are: wholesale and retail trade (16 percent); real estate (10 percent); transport, warehousing and communications (7 percent) and financial services and insurance (6 percent). Industry constitutes 18 percent of output and the largest segments within this sector are: automobile industry (4 percent of total GDP) and food industry (3.8 percent). The remaining share is divided by: construction, water, gas and electricity distribution (8 percent), mining (5 percent), government (4 percent ) and agriculture, forestry, fishing and hunting (3 percent).