Nociception
Nociception (synonym: nocioception or nociperception) is defined as "the neural processes of encoding and processing noxious stimuli." It is the afferent activity produced in the peripheral and central nervous systems by stimuli that have the potential to damage tissue. This activity is initiated by nociceptors, (also called pain receptors), that can detect mechanical, thermal or chemical changes above a set threshold. Once stimulated, a nociceptor transmits a signal along the spinal cord, to the brain. Nociception triggers a variety of autonomic responses and may also result in a subjective experience of pain in sentient beings.
Read more about Nociception.