The diencephalon is the region of the vertebrate forebrain situated between the cerebrum and brain stem. It develops from the most anterior part of the neural tube and contains four main components - the thalamus, subthalamus, hypothalamus, and epithalamus. The diencephalon relays sensory information between brain regions, controls autonomic functions, and connects the nervous and endocrine systems to generate emotions and memories.