Final answer:
The caste system in India was historically divided into four main varnas, with complex subcastes within them. Over time, a fifth group known as the untouchables was added. Duties and social roles were different across castes, defined by traditional beliefs in past actions and cosmic law.
Step-by-step explanation:
The origins and major features of the caste system are reflective of the historical and social context of ancient India. The caste system originated with the Aryan peoples and organized society into four major varnas: Brahman (priests), Kshatriya (warriors), Vaishya (merchants and farmers), and Shudra (servile people). Over time, the system became more complex with the development of numerous subcastes within these varnas. Additionally, a group known as the untouchables, or Dalits, emerged as a fifth group that was outside of the traditional four-tier system.
People in different castes did not have the same duties; rather, they were expected to adhere to the specific roles and occupations associated with their caste, which was believed to be determined by their past actions (karma) and their adherence to dharma (cosmic law).