A substance released by the body, which decreases the perception of pain by binding to the pain receptor sites.