A morphine like substance produced in the body thought to increase the pain threshold by binding to receptor sites.