Not all romance languages have three, French for example just has the two.
And technically speaking, that's what genders mean; I believe some American languages actually separate genders based on other things than male and female (mobile things, stationary things, and abstract things; for example).
*Linguist in the Playground*