>>4279427first world means traditionally western aligned countries that sided with the USA during the Cold War
second world means traditionally soviet aligned countries that sided with (or were) the USSR during the Cold War
third world are countries who explicitly declared themselves neutral during the cold war.
brazil isnt a second world country. I would argue it is a first world country considering how much it sucked off the USA throughout its history, it literally fought in WW2 for the allied forces