The nervous system senses the world, decides what to do and commands the body. It has a central part, the brain and spinal cord, and a peripheral part made of nerves and ganglia.
The central nervous system is the control center. It lies inside the skull and the vertebral column, wrapped in membranes called meninges and protected by cerebrospinal fluid. The peripheral nervous system is the set of cables that connects the control center to the rest of the body. A nerve is a bundle of axons in the PNS, and a ganglion is a cluster of neuron cell bodies outside the CNS. Inside the CNS, bundles of axons are called tracts and clusters of cell bodies are called nuclei.
Three jobs
Sensory input. Sensory receptors register stimuli from inside and outside the body and send the information toward the CNS.
Integration. The CNS processes the signals and decides on a response.
Motor output. Signals travel to muscles and glands (the effectors), and the body responds.
Organization of the PNS
Pathway
Carries
Examples
Sensory (afferent)
Information from receptors toward the CNS
Touch from a fingertip, pain from the gut, the sense of body position
Somatic motor
Commands from the CNS to skeletal muscle (voluntary)
Lifting an arm, speaking
Autonomic motor
Commands to smooth muscle, cardiac muscle and glands (involuntary)
Heart rate, pupil size, digestion
The autonomic system has sympathetic and parasympathetic parts, and a network in the gut wall called the enteric nervous system. These are discussed in the autonomic nervous system.
The brain
The cerebrum is the largest part. Its two hemispheres are covered with a folded cortex of gray matter and are joined by the corpus callosum. The cortex has four lobes (frontal, parietal, temporal and occipital) and is responsible for the higher functions of the nervous system, such as voluntary movement, hearing and vision.
The diencephalon lies deep in the brain. Its thalamus relays sensory information to the cortex, and its hypothalamus controls the autonomic nervous system and the pituitary gland, and regulates temperature, appetite and thirst.
The brainstem is made up of the midbrain, the pons and the medulla oblongata. It joins the brain to the spinal cord, contains centers that regulate breathing and the cardiovascular system, and holds many of the cranial nerve nuclei.
The cerebellum sits behind the brainstem. It coordinates movement and balance.
The 3D view highlights some of these structures. The model includes the brainstem, thalamus, hypothalamus, cerebellum and many cortical regions, but it does not include the spinal cord or the peripheral nerves, apart from some in the orbit.
The spinal cord and nerves
The spinal cord runs inside the vertebral canal from the base of the skull down to about the level of the first or second lumbar vertebra. Cross-sections show a butterfly-shaped core of gray matter, which contains cell bodies, surrounded by white matter, which contains tracts of myelinated axons. Thirty-one pairs of spinal nerves leave it: 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal. Twelve pairs of cranial nerves leave the brain and brainstem and mostly supply the head and neck.
Gray matter and white matter
Gray matter is made of cell bodies and dendrites. White matter appears pale because the axons in it are covered with fatty myelin, and it carries signals between regions. Both are found in the brain and the spinal cord, but they are arranged differently: gray matter forms the outer cortex of the cerebrum and lies inside the spinal cord.
A simple reflex
A reflex is an automatic response that does not wait for a conscious decision. When a hand pulls away from a hot object, a sensory neuron signals an interneuron in the spinal cord, which passes the signal on to a motor neuron and so to a muscle. This pathway is called a reflex arc, and the spinal cord coordinates it.
Sources
The facts in this article were checked against these pages on .
12.1 Basic Structure and Function of the Nervous System (opens in a new tab)OpenStax, Anatomy and Physiology 2e, 2022Accessed · CC BY-NC-SAUsed for: Key points: the CNS and the PNS; the three jobs of the nervous system; Two main divisions: nerve, ganglion, tract and nucleus; the CNS inside the skull and the vertebral column; Organization of the PNS: somatic and autonomic motor commands; Gray matter and white matter: cell bodies and dendrites; myelin
13.2 The Central Nervous System (opens in a new tab)OpenStax, Anatomy and Physiology 2e, 2022Accessed · CC BY-NC-SAUsed for: Key points: the four main parts of the brain; The brain: cerebrum, folded cortex, corpus callosum, four lobes, thalamus, hypothalamus, brainstem, cerebellum; Gray matter and white matter: the cortex of the cerebrum; A simple reflex: the spinal cord coordinates reflexes
13.4 The Peripheral Nervous System (opens in a new tab)OpenStax, Anatomy and Physiology 2e, 2022Accessed · CC BY-NC-SAUsed for: Key points: 12 pairs of cranial nerves and 31 pairs of spinal nerves; The spinal cord and nerves: 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal; cranial nerves mainly supply the head and neck; Two main divisions: nerve and ganglion in the PNS; Organization of the PNS: the enteric nervous system in the gut wall
14.3 Motor Responses (opens in a new tab)OpenStax, Anatomy and Physiology 2e, 2022Accessed · CC BY-NC-SAUsed for: A simple reflex: simple reflexes do not wait for conscious control; the withdrawal reflex runs through an interneuron in the spinal cord; Organization of the PNS: the somatic system controls skeletal muscle
Anatomy, Central Nervous System (opens in a new tab)Konstantinos Margetis, Vamsi Reddy, Paramvir Singh, StatPearls Publishing, NCBI Bookshelf, 2026Accessed · CC BY-NC-ND 4.0Used for: Key points: the CNS and the PNS; Two main divisions: the skull, the meninges and the cerebrospinal fluid protect the CNS; The brain: the four lobes, the thalamus as a relay, the hypothalamus and the pituitary gland, temperature, appetite and thirst, brainstem centers for breathing and the cardiovascular system, cranial nerve nuclei in the brainstem, the cerebellum and balance; The spinal cord and nerves: the cord runs from the foramen magnum to the first or second lumbar vertebra
Neuroanatomy, Spinal Cord Morphology (opens in a new tab)Muthu Kuzhali Ganapathy, Vamsi Reddy, Prasanna Tadi, StatPearls Publishing, NCBI Bookshelf, 2024Accessed · CC BY-NC-ND 4.0Used for: The spinal cord and nerves: the cord ends at L1 to L2; butterfly-shaped gray matter surrounded by white matter; 31 pairs of spinal nerves; Clinical box: loss of sensation below the level of a spinal cord lesion
Ischemic Stroke (opens in a new tab)Forshing Lui, Mahammed Z. Khan Suheb, Laryssa Patti, StatPearls Publishing, NCBI Bookshelf, 2026Accessed Used for: Clinical box: stroke symptoms depend on the region of the brain affected, for example weakness of one side of the body and difficulty with speech
Anatomy, Autonomic Nervous System (opens in a new tab)Joshua A. Waxenbaum, Vamsi Reddy, Joe M. Das, StatPearls Publishing, NCBI Bookshelf, 2025Accessed · CC BY-NC-ND 4.0Used for: Key points: afferent fibers carry information toward the CNS and efferent fibers carry commands away from it; Organization of the PNS: the autonomic system has sympathetic, parasympathetic and enteric parts
This article is for study. It describes normal anatomy and what its structure explains, and it is not medical advice.