Pneumonia is an infection that inflames the air sacs in one or both lungs. It can be caused by bacteria, viruses, or fungi. In pediatric cases, viral pneumonia is more common, especially in younger children. Common symptoms include fever, cough, difficulty breathing, and chest pain.