The caste system had hierarchical segregation, untouchability, and restricted mobility.