The brain and spinal cord make up the central nervous system. A network of nerves connects different levels of the spinal cord and controls both conscious and unconscious activities, including pain sensation. It is through the spinal cord that information flows from these nerves to the brain and back again.