Why is soil important to plants?

A: It provides them with nutrients.
B: It provides them with water.
C: It provides them with a medium for growth.
D: All of the above.