Pneumonia refers to an infection in the lungs caused by certain germs, such as bacteria or viruses. When one person spreads germs that can cause pneumonia to someone else, the recipient can develop a range of respiratory infections, from mild cold symptoms to pneumonia.