Other functions
In addition to producing urine, the kidneys secrete a hormone called erythropoietin, which controls the production of red blood cells. The kidneys also convert vitamin D from an inactive form to an active form. The active form of this vitamin is essential for normal bone development. In addition, the kidneys help maintain the blood pressure of the body by releasing an enzyme called renin