A map of the nervous system
Twelve pairs of nerves leave the brain and 31 pairs leave the spinal cord. Together they reach almost every part of the body.
Drag to turn. Scroll or pinch to zoom.
Two parts: central and peripheral
Touch a hot pan and your hand pulls back before you have time to think about it. A moment later you feel the pain, and then you decide to run cold water over your fingers. All three of those events are the work of one system. The nervous system collects information, makes sense of it and sends out commands, and it does all of this through cells that pass electrical and chemical signals to one another.
Anatomists divide the system into two regions. The central nervous system (CNS) is the brain and the spinal cord. The brain sits in the cranial cavity of the skull, and the spinal cord runs down the vertebral cavity inside the backbone. The peripheral nervous system (PNS) is everything else: the nerves that branch out to the skin, muscles and organs, and small clusters of nerve cells along the way. The OpenStax anatomy textbook points out that this line is a convenient start rather than a perfect rule, because a few peripheral structures sit inside the skull or the spine.
Gray matter, white matter and the names of things
Cut fresh brain or spinal cord and you see two shades. Gray matter is where the cell bodies and dendrites of nerve cells crowd together. White matter is mostly axons, the long fibres that carry signals away from cell bodies. It looks white because many axons are wrapped in myelin, a fatty insulation, and fat looks pale. In the brain the gray matter forms the outer layer, the cortex, with white matter underneath.
The same kind of structure gets a different name depending on where it is. A cluster of cell bodies is a nucleus in the CNS and a ganglion in the PNS. A bundle of axons is a tract in the CNS and a nerve in the PNS. The optic nerve is an exception to this naming rule: it is part of the CNS, as is the optic tract beyond the optic chiasm.
| Central (CNS) | Peripheral (PNS) | |
|---|---|---|
| Group of cell bodies | Nucleus | Ganglion |
| Bundle of axons | Tract | Nerve |
| Cells that make myelin | Oligodendrocytes | Schwann cells |
Sense, decide, respond
Seen by what it does, the nervous system has three basic jobs. Sensation is receiving information about a change, called a stimulus, either outside the body or inside it, such as the stretch of an organ wall. Integration is weighing that input against other input, memories and the state you are in. Response is the output: muscles contract or glands release something. A batter who sees a pitch does not swing automatically. The speed of the ball, the count and the score all go into the decision, and that weighing is integration.
Who is in control: somatic and autonomic
The somatic nervous system handles conscious perception and the skeletal muscles that move your bones. Not every somatic response is a choice, though. If a friend jumps out and shouts, you may flinch or yell before you decide anything, and skills you practise, like typing or riding a bike, slowly become automatic.
The autonomic nervous system works without your attention. It controls heart muscle, the smooth muscle in blood vessels and organs, and glands such as sweat glands, usually to keep conditions inside the body steady. It has two divisions that often pull in opposite directions. The sympathetic division is linked with the fight-or-flight response and speeds the heart up. The parasympathetic division, nicknamed rest and digest, slows it down. The digestive tract also has its own network, the enteric nervous system, which can run the gut's smooth muscle and glands even without the CNS.
The cables: cranial and spinal nerves
Nerves are named for where they join the CNS. Twelve pairs of cranial nerves connect to the brain, mostly through the brain stem, and serve the head and neck, including most of the special senses. They are numbered with Roman numerals from I to XII. Three of them, the olfactory (I), optic (II) and vestibulocochlear (VIII) nerves, carry only sensory information. The vagus nerve (X) is different from the rest because it reaches down to organs in the chest and abdomen, including the heart.
Thirty-one pairs of spinal nerves leave the spinal cord: 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal. Every spinal nerve is mixed, carrying sensory fibres in and motor fibres out. Near the cord each one splits into two roots. Sensory axons enter through the dorsal (back) root, and motor axons leave through the ventral (front) root. You will meet those roots again in the lesson on reflexes.
| Cranial nerve | Main job |
|---|---|
| I Olfactory | Smell (sensory) |
| II Optic | Vision (sensory) |
| III Oculomotor, IV Trochlear, VI Abducens | Eye movements (motor) |
| V Trigeminal | Sensation of the face, chewing muscles (both) |
| VII Facial | Facial muscles, taste (both) |
| VIII Vestibulocochlear | Hearing and balance (sensory) |
| IX Glossopharyngeal | Throat muscles, taste (both) |
| X Vagus | Organs of the chest and abdomen (both) |
| XI Spinal accessory | Neck muscles (motor) |
| XII Hypoglossal | Tongue and lower throat muscles (motor) |
| Central nervous system | The brain and the spinal cord. |
| Peripheral nervous system | Everything outside the brain and spinal cord: nerves and ganglia. |
| Ganglion | A cluster of neuron cell bodies in the PNS. |
| Tract | A bundle of axons inside the CNS. |
| Somatic nervous system | Conscious senses and skeletal muscle. |
| Autonomic nervous system | Involuntary control of heart muscle, smooth muscle and glands. |
| Sympathetic division | Fight or flight. Speeds the heart up. |
| Parasympathetic division | Rest and digest. Slows the heart down. |
- Which two organs make up the central nervous system?
- Brain and spinal cord
- Brain and nerves
- Spinal cord and ganglia
- Brain and eyes
- A bundle of axons outside the brain and spinal cord is called a...
- Nerve
- Tract
- Nucleus
- Ganglion
- Why does white matter look white?
- Many axons are wrapped in fatty myelin
- It has no blood vessels
- It is full of cell bodies
- It contains calcium
- Which job is integration?
- Weighing input against memories and other input before responding
- A receptor detecting light
- A muscle contracting
- A gland releasing sweat
- Which division speeds up the heart in a fight-or-flight situation?
- Sympathetic
- Parasympathetic
- Enteric
- Somatic
- Sweating on a hot day is controlled mainly by the...
- Autonomic nervous system
- Somatic nervous system
- Cerebellum alone
- Optic nerve
- Which cranial nerve carries only sensory information?
- II Optic
- III Oculomotor
- XII Hypoglossal
- XI Spinal accessory
- How many pairs of spinal nerves are there in total? (8 cervical, 12 thoracic, 5 lumbar, 5 sacral, 1 coccygeal)
- Counting both sides, how many individual cranial and spinal nerves are there? (12 pairs and 31 pairs)
- Motor axons leave the spinal cord through the...
- Ventral (front) root
- Dorsal (back) root
- Optic chiasm
- Dorsal root ganglion
- True or false: the enteric nervous system can run the gut even without the brain and spinal cord.
- True
- False
- CNS: brain and spinal cord. PNS: everything else.
- Gray matter holds cell bodies; white matter is myelinated axons.
- Three jobs: sensation, integration, response.
- Somatic: skeletal muscle and conscious senses. Autonomic: heart, smooth muscle, glands (sympathetic and parasympathetic).
- 12 pairs of cranial nerves, 31 pairs of spinal nerves.
This is educational material about how the body is built and works. It is not medical advice and is not for diagnosing or treating anyone.
Sources for this course (11)
- OpenStax Anatomy and Physiology 2e , 12.1 Basic Structure and Function of the Nervous System, 12.2 Nervous Tissue, 12.4 The Action Potential, 12.5 Communication Between Neurons, 13.2 The Central Nervous System, 13.4 The Peripheral Nervous System, 14.1 Sensory Perception, 14.2 Central Processing, 14.3 Motor Responses, 15.1 Divisions of the Autonomic Nervous System (openstax.org/books/anatomy-and-physiology-2e)
- NIH NINDS "Brain Basics: Know Your Brain" and "Brain Basics: Understanding Sleep" (ninds.nih.gov/health-information/public-education/brain-basics)
- NIH MedlinePlus "Healthy Sleep" (medlineplus.gov/healthysleep.html)
- NIH Research Matters "Scientists build largest maps to date of cells in human brain" (nih.gov, about 86 billion nerve cells)
- Basic Neurochemistry, Brain Energy Metabolism (ncbi.nlm.nih.gov/books/NBK28124, about 20% of the body's oxygen) and Balasubramanian 2021 "Brain power" (PMC8364152, 2% of body weight)
- nerve conduction speeds: ScienceDirect Topics "Nerve Conduction" (myelinated up to 120 m/s, unmyelinated 0.5 to 3 m/s) and Erlanger and Gasser fibre table in "Nerve Fiber" (C fibres 0.6 to 2 m/s)
- history: NobelPrize.org 1906 (Golgi, Cajal) and 1932 (Sherrington)
- Tansey 1997 "Sherrington and the synapse, 1897" (PubMed 9323432)
- PMC4291908 (Loewi 1921, Nobel 1936 with Dale)
- PMC3424716 (Hodgkin and Huxley 1952, Nobel 1963)
- Britannica "Broca area" (1861) and PubMed 29452328 (Leborgne, "Tan")
Checked: 2026-10-17