The kidneys also perform hormonal functions, since they produce a substance called erythropoietin that prevents the appearance of anemia. In addition, they are also responsible for the regulation of blood pressure and important substances in bone metabolism, such as calcium, phosphorus, and vitamin D.