Aspiration pneumonia: MedlinePlus Medical Encyclopedia Aspiration pneumonia occurs when food, saliva, liquids, or vomit is breathed into the lungs or ... The type of bacteria that caused the pneumonia depends on:.