hypothalamus
The body has an "indoor regulator" that controls our body's temperature. It is a part of our cerebrum called the hypothalamus. The hypothalamus controls your body's reactions to outside temperature. When we get hot, we sweat. It interface the sensory system to the endocrine framework through the pituitary organ