When the body detects a potential threat, such as an allergen or injury, it releases histamines as part of the inflammatory response. Histamines increase the permeability of blood vessels, allowing immune cells to reach the affected area more easily. They also cause the characteristic symptoms of inflammation, such as redness, swelling, itching, and increased mucus production.