Which of the following acts as thermoregulator?

Which of the following acts as thermoregulator?

A. Cerebrum
B. Cerebellum
C. Thalamus
D. Hypothalamus