Above, we proved that the 8 active ingredients of ES may play a role in treating pneumonia by targeting the NF-κB pathway and the apoptosis pathway, and the 8 active ingredients of SR may play a role in treating pneumonia by targeting the IL-17 signaling pathway. This evidence concerns the gene NFKB1 and pneumonia.