the brain stem is responsible for regulating the automatic functions that are essential for life, including breathing, heartbeat and swallowing. motor and sensory neurons travel through the brain stem, allowing impulses to pass between the brain and the spinal cord.