Which is NOT a function of the kidneys?

A. Eliminate carbon dioxide
B. Maintain proper pH
C. Eliminate waste products
D. Regulate electrolyte levels