Endorphins are endogenous opioid neuropeptides and peptide hormones in humans and other animals. They are produced by the central nervous system and the pituitary gland. Endorphins are responsible for pain relief and feelings of pleasure or euphoria.