Inflammation is the result of immune system activity, this may be a good thing ar as is the case with autoimmune diseases like Rheumatoid arthritis a disease.
Heat can kill (or at least weaken) pathogens. Of course, heat can also kill the cells of the human body, but sometimes when things are desperate, the body will take that risk.