Hyperhidrosis can be either primary or secondary. Primary hyperhidrosis generally has a genetic component and starts in childhood or adolescence. Secondary hyperhidrosis may be due to underlying conditions such as obesity, hyperthyroidism, diabetes, or menopause-related hormonal changes. In gynecology, factors like hormonal fluctuations during the menstrual cycle, pregnancy, and menopause can significantly contribute to excessive sweating.