Both the endocrine system and nervous system play key roles in maintaining homeostasis of the body and coordinating functions of the body by responding to various stimuli. Both also send signals using chemical substances.