Heat is primarily generated in muscle tissue, including the heart, and in the liver, while it is lost through the skin (90%) and lungs (10%). Heat production may be increased 2 to 4 fold through muscle contractions (during exercise for example).
Many changes to physiology occur as body temperature decreases (hypothermia) These occur in the cardiovascular system where you can note an abnormal Osborn J wave, a decreased CNS electrical activity, cold diuresis, and non-cardiogenic pulmonary edema. Furthermore glomerular filtration rate (GFR) decreases as a result of hypothermia. In essence, Hypothermia increases preglomerular vasoconstriction, thus decreasing both renal blood flow (RBF) and GFR.
On the other end, in hyperthermia the physiological thermoregulation fails, affecting the body biochemically, so enzymes involved in metabolic pathways within the body such as cellular respiration fail to work effectively at higher temperatures and further increases can lead them to denature, reducing their ability to catalyse essential chemical reactions. This loss of enzymatic control affects the functioning of major organs with high energy demands such as the heart and brain.