If you ever wondered whether pneumonia is contagious, we are here to address your concerns. First of all, pneumonia is inflammation of the lung tissue, caused by a virus, bacteria, or fungus. In pneumonia, the air sacs become filled with pus. What part of the lung is affected and whether it is a single lung or both determines what kind of pneumonia it is – we will explain the types of pneumonia later on.