The nervous system is designed to protect us from danger through its interpretation of and reactions to stimuli. But a primary function of the sympathetic and parasympathetic nervous systems is to interact with the endocrine system to elicit chemicals that provide another system for influencing our feelings and behaviors. Both nervous system and endocrine system works together to maintain homoeostasis.