Therefore, in this study, the relevant indicators associated with inflammation, insulin resistance, BDNF level, and apoptosis in hippocampal tissues were detected to uncover the molecular mechanisms for alleviating obesity-induced cognitive impairment upon a swimming intervention in HFD-induced obese mice. The gene discussed is BDNF; the disease is obesity due to melanocortin 4 receptor deficiency.