Ventilator-associated pneumonia (VAP) is a type of lung infection that occurs in people who are on mechanical ventilation. It typically develops more than 48 hours after intubation. VAP can be caused by a variety of pathogens, including bacteria and sometimes viruses or fungi.