
Brazil, officially the Federative Republic of Brazil, is the largest country in South America. It is also the world's fifth-largest country by area and the seventh-largest by population, with over 213 million people. Brazil is a federation composed of 26 states and a Federal District, which hosts the capital, Brasília. Its most populous city is São Paulo, followed by Rio de Janeiro. Brazil has the largest Lusophone population in the world and is the only Portuguese-speaking country in the Americas, where it is the official language. Bounded by the Atlantic Ocean on the east, Brazil has a coastline of 7,491 kilometers (4,655 mi), among the longest in the world. Covering roughly half of South America's land area, it borders all other countries and territories on the continent except Ecuador and Chile. Brazil encompasses a wide range of tropical and subtropical landscapes, as well as wetlands, savannas, plateaus, and low mountains. It contains most of the Amazon basin, including the world's largest river system and most extensive virgin tropical forest. Brazil has diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats. It ranks first among 17 megadiverse countries, with its natural heritage being the subject of significant global interest, as environmental degradation (through processes such as deforestation) directly affect global issues such as climate change and biodiversity loss. Brazil was inhabited by various