Incorporating all the results mentioned, we may draw the conclusion that the P2X7 receptor may be a common target for the comorbid visceral pain and depression, and the protective effect of gallic acid in comorbid rats is related to its anti-inflammatory property and increased BDNF in the hippocampus through P2X7 receptor inhibition. This evidence concerns the gene BDNF and major depressive disorder.