Pneumonia can affect one or both lungs. When it affects both lungs, it is sometimes called double pneumonia.