The thalamus is a relay and preprocessing station for the many nerve impulses that pass through it. Impulses carrying similar messages are grouped in the thalamus, then relayed to the appropriate brain areas. The epithalamus is the most dorsal (posterior) portion of the diencephalon.