system
Given the following post, respond as if you're commenting on Reddit:
human
What happens to food that ends up in your lung?

If you swallow some food and it goes down the wrong pipe (I mean something small like a chip or something) what happens to it? How does the lung get rid of it?
gpt
Depends on the size, texture, and what it's made of.

The body's first response is to try to just cough the the thing out.  
If that doesn't work, it tries to smother it in mucous so that it can be pushed out. As a side effect of this, you make too much mucous and get pneumonia (here called 'aspiration pneumonia', because it's due to an inhaled foreign object).  
Next thing to try is to attempt to break the object down. The mucous starts this process, and assorted white blood cells (macrophages), will come along and attempt to eat away the object slowly. If it works, it will eventually go away completely.  
If the object is made of something that can't be readily broken down or absorbed by the white cells, it will either calcify into a solid lump, or will cause destruction of surrounding lung tissue, which will eventually be walled off by scar tissue.