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