According to the results of immune infiltration analysis, the proportions of CD8, CD4 naive, and memory resting T cells and M2 macrophage were elevated in the normal group, and the proportions of M0 macrophage, resting mast cell, and neutrophils were increased in the BPD group. Here, CD8A is linked to bronchopulmonary dysplasia.