Why not? Like paprika, they're made from a combination of dried peppers belonging to the Capsicum annuum family.
Think of capsaicin as a powerful defence mechanism plants have developed to survive. The key about capsaicin is that it does not affect all species of animals or fungi. This is a brilliant evolutionary development that makes the existence of capsaicin twice as beneficial to the plant.
