Granuloma is a medical term for a tiny collection of immune cells known as macrophages. Granulomas form when the immune system
Immune system
An immune system is a system of biological structures and processes within an organism that protects against disease by identifying and killing pathogens and tumor cells. It detects a wide variety of agents, from viruses to parasitic worms, and needs to distinguish them from the organism's own...

 attempts to wall off substances that it perceives as foreign but is unable to eliminate. Such substances include infectious organisms such as bacteria
Bacteria are a large domain of prokaryotic microorganisms. Typically a few micrometres in length, bacteria have a wide range of shapes, ranging from spheres to rods and spirals...

 and fungi as well as other materials such as keratin
Keratin refers to a family of fibrous structural proteins. Keratin is the key of structural material making up the outer layer of human skin. It is also the key structural component of hair and nails...

 and suture fragments. A granuloma is therefore a special type of inflammation
Inflammation is part of the complex biological response of vascular tissues to harmful stimuli, such as pathogens, damaged cells, or irritants. Inflammation is a protective attempt by the organism to remove the injurious stimuli and to initiate the healing process...

 that can occur in a wide variety of diseases.