In conclusion, NK357 and NK391 may alleviate periodontitis and dementia by regulating NF-κB, RANKL/RANK, and BDNF-NMDAR signaling and gut microbiota. The gene discussed is TNFSF11; the disease is periodontitis.