Pneumonia is an inflammation and infection of the lungs. It can affect any child, but is most dangerous to babies and kids who are already sick with something else.