A neural receptor whose stimulation produces sensations of pain.