However the kidneys are also part of the endocrine system and make erythropoietin ans calcitriol .
The kidneys also function as a part of the endocrine system producing erythropoietin and calcitriol .