What is the role of the kidney?

A. It produces digestive enzymes.
B. It removes toxins from food.
C. It makes bile.
D. It maintains the amount of water in the body.