Inflammation is stimulated by chemical factors released by injured cells. It sets up a physical barrier against the spread of infection, and promotes healing of damaged tissue after the clearance of pathogens.