The term "endorphin" implies a pharmacological activity (analogous to the activity of the corticosteroid category of biochemicals) as opposed to a specific chemical formulation. It consists of two parts: endo- and -orphin; these are short forms of the words endogenous and morphine, intended to mean "a morphine-like substance originating from within the body."
The term endorphin rush has been adopted in popular speech to refer to feelings of exhilaration brought on by pain, danger, or other forms of stress, supposedly due to the influence of endorphins. When a nerve impulse reaches the spinal cord, endorphins are released which prevent nerve cells from releasing more pain signals. Immediately after injury, endorphins allow humans to feel a sense of power and control over themselves that allows them to persist with activity for an extended time.
( http://en.wikipedia.org/wiki/Endorphin )