the midbrain pons and medulla oblongata are all part of the
Brainstem The brainstem (or brain stem) is the posterior part of the brain, adjoining and structurally continuous with the spinal cord. In the human brain the brainstem includes the midbrain, the pons, and the medulla oblongata. Sometimes the diencephalon, the caudal part of the forebrain, is included.[1]
Ventricular system The four cavities of the human brain are called ventricles.[1] The two largest are the lateral ventricles in the cerebrum; the third ventricle is in the diencephalon of the forebrain between the right and left thalamus; and the fourth ventricle is located at the back of the pons and upper half of the medulla oblongata of the hindbrain. The ventricles are concerned with the production and circulation of cerebrospinal fluid[2]