The Mughal Empire economy was basically rural. The people in the villages cleared the forest for a better farming. That way the farmers exported cotton, tobacco, pepper, sugarcane, ginger, rice and silk. The government taxed imports and exports so the rulers could get revenue on trade.
The Portuguese through the port of Goa were the first to trade permanently with India, navigating through the Indic Ocean, in the 16th century. Indian and Calico cotton textiles were very valued in Europe, so the Empire traded textiles with the Europeans. In Exchange, silver from the New Spain territory arrived to the Empire. Other imports were horses, spices, sugar, oil from Asian countries.
So, the Mughal Empire localization was a privilege for the rulers. It connected the East and the West by three means. It was a trade pass through the Indian Ocean, the Silk Road and the Bay of Bengal.