After GO-BP and KEGG enrichment of related genes, we found that ES can treat pneumonia through NF-κB and apoptosis and ES can play a therapeutic role through the IL-17 signaling pathway. This evidence concerns the gene NFKB1 and pneumonia.