In some ways, parts of the human nervous system work in a similar way. When we feel a painful sensation, like a sharp pinprick or a flame on our finger, we instinctively pull away. That reflex, which comes from the spinal cord, allows us to avoid danger even before our brains have registered the pain in the first place.