Which of the following statements is true of the spinal cord?