In conclusion, UTI enhances macrophage efferocytosis through the ERK5/Mer signaling pathway, promotes the regression of pneumonia, alleviates lung injury, and provides a new target and theoretical basis for further development of more effective drugs to treat lung injury. This evidence concerns the gene MAPK7 and susceptibility to pneumonia measurement.