In chili peppers, Capsicum is the main compound to make their flavor hot.
It’s important to pay attention to your own tolerance levels when eating chili peppers. Using them as a spice may be healthy, but those who experience digestive distress should eat less or avoid them.