in addition, the brain and spinal cord controls the autonomic nervous system. this system works by secreting hormones and by modulating the "smooth" muscles of the gut. the autonomic nervous system affects heart rate, digestion, respiration rate, salivation, perspiration, urination, sexual arousal and several other processes. most of its functions are not under direct voluntary control. several of them, such as respiration, can be controlled directly as well.