The answer is "The hand-withdrawal reflex involves only the spinal cord, but the pain message has to reach the brain".
Reflex refers to an exceptional capacity that advancement skilled us to encourage our survival. At whatever point some portion of your body interacts with a object capable for causing you hurt, you have a tendency to rapidly pull back that piece of the body. This occurs before your brain gets the time it needs to process the risk. In the event that you unintentionally touch a hot pot on your stove while cooking, you would automatically grab your hand far from the pot. This reaction is known as a 'reflex action'.