Pneumonia is an infection that inflames the air sacs in one or both lungs. The air sacs may fill with fluid or pus, causing symptoms such as cough, fever, chills, and difficulty breathing. Pneumonia can be caused by a variety of organisms, including bacteria, viruses, and fungi.