Brazil, officially the Federative Republic of Brazil, is the largest country in both South America and Latin America. It covers an area of 8,515,767 square kilometres, with a population of over 211 million. Brazil is the world's fifth-largest and sixth-most populous country, composed of 26 states and the Federal District. It is the largest country to have Portuguese as an official language and the only one in the Americas. Brazil is one of the world's most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world. It is also the most populous Roman Catholic-majority country, and its capital is Brasília, while the largest city is São Paulo.
Brazil is bounded by the Atlantic Ocean to the east, and has a coastline of 7,491 kilometers. It covers roughly half of South America's landmass, and borders all other countries in the continent except Ecuador and Chile. Its Amazon basin includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.