This research aims to explore how lifestyle, environmental factors, and genetic factors jointly influence the development and prognosis of diabetes and endocrine diseases. We will analyze data from the UK Biobank, including lifestyle surveys, genetic data, and environmental exposure data. The study will use various statistical methods to assess the impact of these factors. For example, our previous research has shown that lower free triiodothyronine levels are linked to higher mortality in people with diabetes, and that vitamin D levels and physical activity can delay aging. Additionally, we have found that muscle distribution and lean mass are important predictors of mortality risk in patients with type 2 diabetes. Leveraging the comprehensive and extensive data provided by the UK Biobank, this research will uncover new scientific evidence for the prevention and treatment of these diseases, helping to develop personalized health intervention strategies and improve public health. The project is expected to last 36 months.