In contrast, FMT from wild-type mice alleviated cognitive deficits in Tg mice, decreased neuroinflammatory markers (TNF-α, IL-6, and IL-17), reduced Aβ deposition and tau hyperphosphorylation, and lowered trimethylamine N-oxide levels in the brain tissue, while also suppressing CDK5/STAT3 pathway activation. This evidence concerns the gene TNF and Cognitive impairment.