What role did feudalism play in medieval Europe?

A. It established the Ten Commandments as the basis for all laws.
B. It guaranteed that all Europeans had access to food and shelter.
C. It revived lost philosophies from classical Greece and Rome.
D. It dictated the relationship between different social classes.