Gallic acid ameliorates dextran sulfate sodium-induced ulcerative colitis in mice via inhibiting NLRP3 inflammasome. Here, NLRP3 is linked to ulcerative colitis.