The formation of the granuloma in tuberculosis infection.