The brainstem is a part of the brain that connects the spinal cord to the rest of the brain. It includes the midbrain, pons and medulla oblongata, and serves as a relay center for sensory information and motor commands between the higher and lower parts of the body. The brainstem also plays an important role in regulating vital functions such as heart rate, blood pressure, and breathing.