Detailed Instructions: Given a scientific question, generate a correct answer to it.
Problem:The thalamus acts as a gateway to and from what?
Solution:
cortex