What is pneumonia? Pneumonia is an infection of the lungs that can be caused by a variety of different pathogens, including viruses, bacteria, fungi, and mycobacteria.