Which of the following is the primary function of the kidneys?
To filter and excrete waste products
To maintain the proper balance of water and minerals
To stimulate the production of red blood cells
To regulate blood pressure