It is generally associated with Hinduism in India and other countries.
It is a set of right social categories that determined not only person's occupation but also positions in society.
After 1950, it is formally outlawed in India, though some of them still remains in practice.