An infection that inflames the air sacs in one or both lungs, causing coughing, fever, and chest pain.