In Depth: Nervous. The nervous system has two major parts: the central nervous system (CNS) and the peripheral nervous system (PNS). The central system is the primary command center for the body, and is comprised of the brain and spinal cord. The peripheral nervous system consists of a network of nerves that connects the rest of the body to the CNS.