You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Compensatory hyperhidrosis and explain in detail?
Compensatory hyperhidrosis is a form of neuropathy. It is encountered in patients with myelopathy, thoracic disease, cerebrovascular disease, nerve trauma or after surgeries. The exact mechanism of the phenomenon is poorly understood. It is attributed to the perception in the hypothalamus (brain) that the body temperature is too high. The sweating is induced to reduce body heat.
Excessive sweating due to nervousness, anger, previous trauma or fear is called hyperhidrosis.
Compensatory hyperhidrosis is the most common side effect of endoscopic thoracic sympathectomy, a surgery to treat severe focal hyperhidrosis, often affecting just one part of the body.  It may also be called rebound or  reflex hyperhidrosis.  In a small number of individuals, compensatory hyperhidrosis following sympathectomy is disruptive, because affected individuals may have to change sweat-soaked clothing two or three times a day.
According to Dr. Hooshmand, sympathectomy permanently damages the temperature regulatory system. The permanent destruction of thermoregulatory function of the sympathetic nervous system causes latent complications, e.g., RSD in contralateral extremity.Following surgery for axillary (armpit), palmar (palm) hyperhidrosis (see focal hyperhidrosis) and blushing, the body may sweat excessively at untreated areas, most commonly the lower back and trunk, but can be spread over the total body surface below the level of the cut. The upper part of the body, above the sympathetic chain transection, the body becomes anhidriotic, where the patient is unable to sweat or cool down, which further compromises the bodys thermoregulation and can lead to elevated core temperature, overheating and hyperthermia. Below the level of the sympathetic chain interruption, body temperature is significantly lower, creating a stark contrast that can be observed on thermal images. The difference in temperatures between the sympathetically under- and overactive regions can be as high as 10 Celsius.

Variations
Gustatory sweating or Freys syndrome is another presentation of autonomic neuropathy.  Gustatory sweating is brought on while eating, thinking or talking about food that produces a strong salivary stimulus. It is thought that ANS fibres to salivary glands have become connected in error with the sweat glands after nerve regeneration. Apart from sweating in the anhidriotic area of the body, it can produce flushing, goosebumps, drop of body temperature - vasoconstriction and paresthesia