Grammatical gender is used as a way to classify all nouns within a language. Latin originally had a five-case declensional system to classify nouns, but all modern Romance languages have replaced those endings with a two-gender system in which the masculine stems from Latin’s second (-us) declension endings and the feminine from first (-a) declension endings.