Yam can be eaten in case of pneumonia. Yam has the effect and efficacy of strengthening the spleen and benefiting the kidneys, and can be consumed accordingly. It should be noted that when pneumonia occurs, avoid eating foods that are too spicy, stimulating, and greasy, so as not to help dampness and produce phlegm, leading to increased sputum secretion, which is not conducive to the overall recovery of the patient’s symptoms. In clinical practice, pneumonia also requires a regular diet and rest, and the treatment of pneumonia itself suggests standardized anti-infective therapy, with the appropriate anti-infective treatment plan for the patient’s pathogenesis, which is conducive to the recovery of the patient’s overall symptoms. If the patient has an obvious cough, coughing sputum can be increased with appropriate phlegm and cough medicine, so as to better control the patient’s clinical symptoms and facilitate recovery.