That's correct!
Capsaicin, derived from hot chillies, is also responsible for the endorphinic "high" sensation, commonly associated with consuming extremely hot (spicy) food.
Onto the next question...