The mesencephalon or midbrain is a part of the brain stem. It is associated with vision, hearing, motor control, sleep/wake, arousal (alertness), and temperature control. A tubular passage, iter is the passage from the third ventricle of the brain to the infundibulum.