Pathology

A 45-year old patient presented with fever, night sweats and weight loss. On X-ray, a mass was seen in the apical lobe. On histopathology, caseous necrosis was present. What is the name of the underlying process?