Aspiration pneumonia happens when anything other than air gets into the lungs. An example of aspiration is when a person cannot stop vomit from going into the lungs.