Gender agreement is a grammatical rule that requires words within a sentence to align in gender, often seen in languages with gendered nouns. This alignment affects adjectives, articles, and sometimes verbs, ensuring that all parts of speech agree with the gender of the nouns they refer to.