Physiologic events from the time of painful stimulus to the actual perception of pain
One can track pain processing from the stimulus delivered at a finger to nerves ascending the somatosensory pathway from the peripheral nervous system to the brain.
The depiction of a nail going through the fingertip is the pain stimulus.
This painful stimulus first encounters the afferent nociceptors. Most nociceptors are bare nerve endings.
Pain conveying fibers are either C-fibers or A-delta nerve fibers.