Apartheid and the Indian caste system both imposed strict hierarchical structure on the society, which limited opportunities to people of lover caste/ groups (In South Africa no group was officially superior to others, but in reality while people had access to better infrastructure than the other groups).