This is the caste system of hinduism. It is interesting to see how their system worked. It helps understand how people were ranked and were the majority of people were located in the caste system in Hinduism.
Gandhi Against Caste : An Evolving Strategy to Abolish Caste System in India (Hardcover) (Nishikant
The caste systems dates back to the Aryan and Dasas time period. It was used to classify where you stood in the classes or social ranking. There are four classes priest, warriors, traders, and peasants.
The harsh caste system that India has been know for, for many year is slowly changing. When India achieved independence, the government decided to build a casteless society. Discriminating an individual based on his or her caste is now legally forbidden.
This is regarding the Dalit people in India - who are considered outside of the Hindu Caste system and are considered "Untouchable" by the upper class Hindu people . They are considered less valuable than animals.