Results: We found that C-reactive protein (CRP), interleukin-6 (IL-6), and forced expiratory volume in the first second (FEV1) mediated 32.59% (95% CI: 17.90%, 47.27%), 7.96% (95% CI: 1.79%, 14.14%), and 4.04% (95% CI: 0.34%, 7.74%) of the effect of BMI on pneumonia, and they mediated 26.90% (95% CI: 13.98%, 39.83%), 10.23% (95% CI: 2.72%, 17.73%), and 4.67% (95% CI: 0.25%, 9.09%) of the effect of WC on pneumonia, respectively. Here, CRP is linked to pneumonia.