TNF and diabetes mellitus: Our results showed that vitamin D3 significantly inhibited the protein expression level of TNF‐α, suggesting that vitamin D3 exerted anti‐inflammatory effects on diabetes‐induced cognitive impairment.