Endorphin is an endogenous morphine that acts as a neurotransmitter in the brain. It is produced in the pituitary gland and binds to the same opioid receptors in the brain as morphine. Endorphin is involved in reducing pain perception and inducing euphoric states.