Define caste system including what it is, what it is based on ( how the caste is determined) and what it determines

The caste system is a social hierarchy prevalent in traditional Indian society, based on the Hindu principles of social order and hierarchy. Caste is determined at birth and is inherited from one's parents. Caste is determined by the family one is born into and dictates one's social status, occupation, and opportunities in life. The caste system divides society into different social groups or castes, with each caste having its own place in society and specific roles and responsibilities. This system determines a person's social standing, interactions with others, and access to resources and opportunities.