The part of the brain that controls body temperature is called the hypothalamus. If your body gets too hot, the hypothalamus sends a message to the rest of the body. This message tells the body to sweat.