The portion of the brain which is involved in sensory perception and regulation of motor functions. It connects areas of the cerebral cortex that are involved in sensory perception and movement with other parts of the brain and spinal cord that also have a role in sensation and movement.