The central nervous system consists of two primary components: the brain and spinal cord. The brain processes information and coordinates activities, while the spinal cord transmits signals between the brain and peripheral nerves. Cranial and spinal nerves belong to the peripheral nervous system, connecting the CNS to the rest of the body.