The caste system is a social hierarchy in which people are born into a social ranking that largely determines their life opportunities and restricts social mobility. It is a defining feature of the social structure in certain societies, particularly in South Asia.