The reaction of the immune system to foreign materials and germs causes an inflammation. The inflamed site looks red and swollen. Sometimes, all the cells that come to the infection site clump and form a small bump. This bump is called a granuloma.