I believe you are aware that Brazil was discovered by the Portuguese in 1500. It was quite a discovery, because there were native people already living here. In fact, the Portuguese were sailing the sea to arrive at India, from where a number of products were imported, and just “stumbled” in South America in what is now Brazil.
I guess it is worth a bit of history. Portugal, whose area is roughly 1% of the size of its then latest colony, provided Brazil a natural tendency: explore agriculture (sugar cane and later coffee) and the open pit mining of gold and diamonds. The production of exportable products was neither economically feasible nor desirable. For this reason, only small industries with production for the domestic market were allowed. In 1785, any manufacturing in Brazil was banned – only agriculture and the extraction of minerals were allowed.