Pain transmission involves a series of processes that begin with the activation of nociceptors, which are specialized sensory receptors. These are present in tissues and are responsible for detecting harmful stimuli. When activated, nociceptors send electrical signals through peripheral nerves to the spinal cord and then to the brain, where the sensation of pain is perceived.