Inflammation is stimulated by chemical factors released by injured cells . It serves to establish a physical barrier against the spread of infection , and to promote healing of any damaged tissue after the clearance of pathogens . Inflammation is stimulated by chemical factors released by injured cells and serves to establish a physical barrier against the spread of infection , and to promote healing of any damaged tissue following the clearance of pathogens .