Doctors use the word "granuloma" in different ways.
Pathologists may be the most precise in their use. It's basically a collection immune cells (macrophages) that are in a tight knit ball - could be either from an infection or not. There may be some necrosis
in the granuloma.