From the passage identify the risk factors of pneumonia. Display the results in a comma separated format.

Context: Pneumonia is an inflammatory condition of the lung primarily affecting the small air sacs known as alveoli. Symptoms typically include some combination of productive or dry cough, chest pain, fever, and difficulty breathing. The severity of the condition is variable.

Pneumonia is usually caused by infection with viruses or bacteria, and less commonly by other microorganisms. Identifying the responsible pathogen can be difficult. Diagnosis is often based on symptoms and physical examination. Chest X-rays, blood tests, and culture of the sputum may help confirm the diagnosis. The disease may be classified by where it was acquired, such as community- or hospital-acquired or healthcare-associated pneumonia.

Risk factors for pneumonia include cystic fibrosis, chronic obstructive pulmonary disease, sickle cell disease, asthma, diabetes, heart failure, a history of smoking, a poor ability to cough, and a weak immune system.

Vaccines to prevent certain types of pneumonia are available. Other methods of prevention include hand washing to prevent infection, not smoking, and social distancing.

Treatment depends on the underlying cause. Pneumonia believed to be due to bacteria is treated with antibiotics. If the pneumonia is severe, the affected person is generally hospitalized. Oxygen therapy may be used if oxygen levels are low.

Answer: cystic fibrosis, chronic obstructive pulmonary disease (COPD), sickle cell disease, asthma, diabetes, heart failure, a history of smoking, a poor ability to cough (such as following a stroke), a weak immune system