In physiology, nociception (/ˌnəʊsɪˈsɛpʃ(ə)n/), also nocioception; from Latin nocere 'to harm/hurt') is the sensory nervous system's process of encoding noxious stimuli. It deals with a series of events and processes required for an organism to receive a painful stimulus, convert it to a molecular signal, and recognize and characterize the signal to trigger an appropriate defensive response.
In nociception, intense chemical (e.g., capsaicin present in chili pepper or cayenne pepper), mechanical (e.g., cutting, crushing), or thermal (heat and cold) stimulation of sensory neurons called nociceptors produces a signal that travels along a chain of nerve fibers via the spinal cord to the brain.[1] Nociception triggers a variety of physiological and behavioral responses to protect the organism against an aggression, and usually results in a subjective experience, or perception, of pain in sentient beings.[2]