This release of chemicals increases the blood flow to the area of injury or infection, and may result in redness and warmth. Some of the chemicals cause a leak of fluid into the tissues, resulting in swelling. This protective process may stimulate nerves and cause pain.