The air we breathe has germs in it. Our immune system protects our lungs from infection by fighting most germs, like viruses and bacteria. Sometimes, though, germs are able to get past the immune system and down into our lungs. When that happens, it can cause inflammation in the lungs.