What is the function of the kidneys? A. To filter water and waste materials from the blood. B. To secrete a liquid called bile, which helps to digest fats. C. To help the small intestine by producing a blend of enzymes that breaks down proteins, carbohydrates, and fats. D. To store a digestive juice produced by the salivary glands in your mouth.