The body temperature regulation, in human is based on complex homeostatic thermostat present in the:

Thalamus

Hypothalamus

meaulla oblongata

Cerebrum