Autonomic functions refer to the involuntary physiological processes regulated by the autonomic nervous system (ANS). This system controls vital activities such as heart rate, digestion, respiratory rate, pupillary response, urination, and sexual arousal. The ANS is divided into the sympathetic and parasympathetic nervous systems, which generally have opposing effects to maintain homeostasis.