the midbrain connects the hindbrain and the forebrain. It acts as the main coordinator for all messages going in and out of the brain to the spinal cord. The hindbrain is composed of the pons, medulla oblongata and cerebellum. The hindbrain and midbrain are often known as the brainstem.