Running up
the brain stem from the medulla oblongata through the pons and the
midbrain is a netlike formation of nuclei known as the reticular
formation. The reticular formation controls respiration, cardiovascular
function (see Heart), digestion, levels of alertness, and patterns of
sleep. It also determines which parts of the constant flow of sensory
information into the body are received by the cerebrum.