Brazil is a federal republic with a president, a National Congress, and a judiciary.