What is the purpose for the code of Chivalry?

A. To protect nobles from the king.
B. To ensure peasants have land to work.
C. To collect taxes from knights.
D. To give knights standards of behavior.