carries messages to and from the spinal cord and brain and all other parts of the body