Pneumonia is an infection of the lungs caused by bacteria, viruses or other pathogens. It is commonly transmitted when germs are inhaled into the lungs. Risk factors include impaired immunity, smoking, neurological conditions that impact swallowing, and chronic lung diseases. Diagnosis involves chest x-ray, sputum culture, blood tests and assessment of severity using CURB65 score. Treatment focuses on antibiotics, oxygen supplementation, hydration and symptom relief. Complications can include respiratory failure and sepsis.