Like the ovaries to which they are homologous , testes are components of both the reproductive system and the endocrine system .
They are part of two of the body 's systems , the endocrine system which keeps the body working , and the reproductive system which makes new life .