Alkaloid
Caffeine, used as a stimulant, is used as something addictive in coffee or tea. In this case and the following, herbivores can eat the leaves but they get heart palpitations if they eat too many.