Answer: yes.
Explanation: At the top of the hierarchy were the Brahmins who were mainly teachers and intellectuals and are believed to have come from Brahma's head. Then came the Kshatriyas, or the warriors and rulers, supposedly from his arms. The third slot went to the Vaishyas, or the traders, who were created from his thighs. At the bottom of the heap were the Shudras, who came from Brahma's feet and did all the menial jobs.
The main castes were further divided into about 3,000 castes and 25,000 sub-castes, each based on their specific occupation.
Outside of this Hindu caste system were the achhoots - the Dalits or the untouchables.
How does caste work?
For centuries, caste has dictated almost every aspect of Hindu religious and social life, with each group occupying a specific place in this complex hierarchy.
Rural communities have long been arranged on the basis of castes - the upper and lower castes almost always lived in segregated colonies, the water wells were not shared, Brahmins would not accept food or drink from the Shudras, and one could marry only within one's caste.