Which of the following was the purpose of mendicant orders?

A. To shape chivalry
B. To advice the king
C. To fight heresy
D. To beg for food

D. To beg for food