The caste system in India and the feudal system in Europe were similar in that both