The central nervous system (CNS) consists of the brain and spinal cord.
Cranial nerves , spinal nerves, and ganglia outside the CNS make up the peripheral nervous system (PNS).