Aspiration pneumonia is an infection of the lungs caused by inhaling food or liquid into the lungs.