It performs all these functions by influencing the autonomic nervous and endocrine systems. The response of interest here is fight and flight, which is regulated by a part of the autonomic nervous system called the sympathetic nervous system, and another called the adrenal-cortical system.