Endorphins are endogenous opioid peptides that function as neurotransmitters. They are produced by the central nervous system and the pituitary gland. Often referred to as the body's natural painkillers, endorphins have several physiological and psychological roles, including pain relief and the generation of feelings of well-being.