Pneumonia is an inflammation of the lungs. Hospital-acquired pneumonia is a pneumonia that a patient gets while in the hospital. VAP is a lung infection or pneumonia that develops in a person who is on a ventilator. VAP usually happens at the hospital.