The thalamus, located in the center of the brain, acts as a relay station, sending sensory and motor signals to the cerebral cortex.