It is the alkaloid that is present in peppers and that gives it its spicy flavor.
capsaicin-be tinged from an alkaloid extracted from pepper or hot peppers, is irritating, producing a burning sensation; it is used in food as a seasoning, in pain medicine and in self-defense, in the form of defensive anti-violent sprays,