Capitalizing nationalities and ethnic groups refers to the grammatical rule that requires the first letter of proper nouns representing countries, nationalities, and ethnic identities to be written in uppercase. This practice highlights the importance of recognizing and respecting cultural identities and ensures clarity in writing.