The sympathetic and parasympathetic nervous systems are two divisions of the autonomic nervous system which controls involuntary bodily functions such as heartbeat, digestion, and breathing. These two systems have opposing effects on the body and work together to maintain homeostasis.