Granulomas are lumps that form when cells of the immune system clump together. The immune system is responsible for fighting germs that invade the body.