How do the endocrine and nervous systems work together to act as a…