A demonym (/ˈdɛmənɪm/; from Ancient Greek δῆμος (dêmos) 'people, tribe' and ὄνυμα (ónuma) 'name') or 'gentilic' (from Latin gentilis 'of a clan, or gens') is a word that identifies a group of people (inhabitants, residents, natives) in relation to a particular place. Demonyms are usually derived from the name of the place (hamlet, village, town, city, region, province, state, country, and continent). Demonyms are used to designate all people (the general population) of a particular place, regardless of ethnic, linguistic, religious or other cultural differences that may exist within the population of that place. Examples of demonyms include Cochabambino, for someone from the city of Cochabamba; Tunisian for a person from Tunisia; and Swahili, for a person of the Swahili coast.
Many demonyms function both endonymically and exonymically (used by the referents themselves or by outsiders); others function only in one of those ways.