The ANS acts as an intervening variable that influences our behavior and our physiological reactions to perceived threats in our bodies (pain or illness), as well as in our environment (cues of safety danger).