An endorphin rush refers to the increase in endorphins as a result of exciting or stressful situations, and other stimuli, including chili peppers. Endorphin comes from the term endogenous morphine. It is produced by the pituitary gland and the nervous system. This implies that endorphin is morphine-like in how it affects the body. It inhibits pain. It also makes a person feel euphoric.