Pneumonia is an infection or inflammation of the lung that can be caused by bacteria, viruses, fungi, or parasites. The causes and symptoms vary depending on the infecting organism and age of the patient. Treatment involves antibiotics for bacterial pneumonia, antivirals for some viral cases, and antifungals for fungal pneumonia. Prevention methods include vaccinations for specific types of pneumonia as well as maintaining a healthy lifestyle.