Gender agreement refers to the grammatical rule where nouns, adjectives, and pronouns must match in gender (masculine, feminine, or neuter) and number (singular or plural). This concept is vital in Latin as it affects how words relate to each other in a sentence, influencing the structure and meaning.