The caste system is a hierarchy of four castes. Indian society was divided into four varnas based on the role people used to play in society, politics, and the economy. The Brahmins, the Kshatriyas, the Vaishyas, and the Shudras.