It is thalamus because thalamus is a mass of grey matter structure in the brain that is located between the cerebral cortex and the midbrain which also have some nerves connected to them and it is responsible for sending motor and sensory signals to the cerebral cortex and also regulate conciousness and mental alertness.
It transmit information from the higher brain region to the medula and cerebellum.