A ventilator-associated pneumonia or VAP is a lung infection or pneumonia that develops in a person who is on a ventilator.