Ethnicity refers to the identification or affiliation with a particular group based on shared cultural traits, ancestry, or historical background. Unlike race, which is often seen as an externally imposed classification, ethnicity is generally considered a self-identified construct linked to a sense of shared community and heritage.