Pneumonia is an infection of the lungs that is often caused by bacteria and can lead to death. Symptoms include fever, chills, chest pain, coughing phlegm, and shortness of breath. Treatments can last up to 3 months to clear the infection from the lungs.