Caste is an elaborate and complex social system that combines some or all elements of endogamy, hereditary transmission of occupation, social class, social identity, hierarchy, exclusion and power. Haviland defines caste as a closed form of social stratification in which membership is determined by birth and remains fixed for life; castes are also endogamous and offsprings are automatically members of their parent's caste.
Some literature suggests that the term caste should not be confused with race or social class, e.g. members of different castes in one society may belong to the same race or class, as in India, Japan, Korea, Nigeria, Yemen or Europe. Usually, but not always, members of the same caste are of the same social rank, have similar group of occupations and typically have mores which distinguish it from other groups. Other literature, inspired independently by Kingsley Davis and by Robert Merton, suggest that caste systems come in two forms: racial caste systems and non-racial caste systems.