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

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

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

Risk factors for pneumonia include 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), and a weak immune system.[5][7]

Vaccines to prevent certain types of pneumonia (such as those caused by Streptococcus pneumoniae bacteria, linked to influenza, or linked to COVID-19) are available.[10] Other methods of prevention include hand washing to prevent infection, not smoking, and social distancing.[10]

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

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