Race is a categorization of humans based on shared physical or social qualities into groups generally viewed as distinct within a given society. The term came into common usage during the 16th century, when it was used to refer to groups of various kinds, including those characterized by close kinship relations. By the 17th century, the term began to refer to physical (phenotypical) traits, and then later to national affiliations. Modern science regards race as a social construct, an identity which is assigned based on rules made by society.
An ethnicity or ethnic group is a grouping of people who identify with each other on the basis of perceived shared attributes that distinguish them from other groups. Those attributes can include a common nation of origin, or common sets of ancestry, traditions, language, history, society, religion, or social treatment. The term ethnicity is often used interchangeably with the term nation, particularly in cases of ethnic nationalism. Ethnicity may be construed as an inherited or societally imposed construct.