The seven KEGG pathways with considerable enrichment were dopaminergic synapse (p = 7.94*10−7), the neuroactive ligand–receptor interaction (p = 4.47*10−5), the renin-angiotensin system (p = 7.41*10−5), central carbon metabolism in cancer (p = 7.08*10−4), the synaptic vesicle cycle (p = 8.71*10−4), chemical carcinogenesis-receptor activation (p = 6.17*10−3), and the calcium signaling pathway (p = 7.94*10−3), suggesting that AMS can regulate metabolic pathways related to sleep and restore the function of metabolic pathways that were impacted by insomnia (Figure 4). The gene discussed is REN; the disease is insomnia.