The thalamus has an important role in mediating sensory information to cortical areas and is part of the olfactory and visual system. It is also implicated in regulating sleep and wakefulness.