Cancer can impact the endocrine system in multiple ways. Tumors can develop in endocrine glands, leading to excess or insufficient hormone production. For instance, a thyroid cancer can disrupt thyroid hormone levels, affecting metabolism and energy. Similarly, adrenal cancer can alter cortisol and aldosterone levels, impacting stress response and blood pressure.