This research aims to explore the relationship between mental disorders (such as depression, anxiety disorders, schizophrenia, bipolar disorder, autism, sleep disorders, etc.) and immune and metabolic dysfunction. Key research questions include: 1) How do immune and metabolic abnormalities influence the onset and progression of mental disorders? 2) How do peripheral blood biomarkers, neuroimaging features from MRI, and retinal imaging from Optical Coherence Tomography (OCT) vary among individuals with different psychiatric conditions? 3) What is the impact of statin therapy on metabolic and inflammatory responses, particularly regarding blood glucose levels, in patients with mental disorders? This is particularly relevant given the paradox that while statins are used to treat lipid metabolism disorders, they may also negatively affect blood glucose levels, which is a concern for psychiatric patients who are already at risk for glucose abnormalities. Our objective is to analyze UK Biobank data to reveal potential mechanisms linking mental disorders with immune and metabolic dysfunction and to explore the application of biomarkers in diagnosis and treatment. The scientific rationale is based on existing evidence suggesting a close relationship between mental disorders and metabolic diseases, with inflammation potentially serving as a bridge between the two. By systematically analyzing relevant data, we aim to provide more effective treatment strategies for patients with mental disorders, thereby promoting public health.