Question: what are the two main functions of spinal cord?
Answer: It connects a large part of the peripheral nervous system to the brain. ... 
The spinal cord also acts as a minor coordinating center responsible for some simple reflexes like the withdrawal reflex.