There are more than 50 kinds of pneumonia. Bacteria cause bacterial pneumonias. Viruses cause viral pneumonias. Fungi, mycoplasma and other organisms cause other types of infectious pneumonia.