Qi-Fu-Yin can regulate the bacteria such as Bacteroidetes and Rikenellaceae related to the pathophysiological and cognitive impairment in APP/PS1 transgenic mice, thus acting as an anti-aging and improving cognition. The gene discussed is APP; the disease is Cognitive impairment.