Brazil is a country located in South America. It is the largest country in South America and the fifth largest country in the world by both population and total area. Brazil shares borders with every South American country except Chile and Ecuador. Its capital is Brasília, and its most populous city is São Paulo. Brazil is a federal republic with a president, a National Congress, and a legal system. The country is known for its diverse population, including indigenous Americans and the descendants of African slaves and European settlers. Brazil is also famous for its natural beauty and biodiversity, including the Amazon rainforest.