What Kind of Government does Brazil have?

Since it’s independence in 1822 the form of government in Brazil has technically been a Democracy, but the level of freedom and control has varied depending on the regime in power. Freedom is usually inversely related to the liberalness of the regime.