LEP and Obesity: Second, obesity affects cognitive function by regulating leptin and adiponectin levels.