The nervous system performs three core functions: it detects what’s happening inside and outside your body, processes that information, and triggers a response. These three roles, known as sensory input, integration, and motor output, work together in a continuous loop that governs everything from pulling your hand off a hot stove to forming a memory of your child’s face.
But those three categories only scratch the surface. Your nervous system also runs your heartbeat, digests your food, regulates your mood, and lets you learn new skills decades into adulthood.
Sensory Input: Gathering Information
Millions of sensory receptors spread throughout your body constantly monitor your environment. Some detect external changes like temperature, light, sound, and pressure on your skin. Others track internal conditions: blood pressure, carbon dioxide levels, blood chemistry, and the stretch of your stomach wall after a meal. All of this data gets converted into electrical signals and sent toward the brain and spinal cord.
The speed of those signals varies dramatically depending on the type of nerve fiber carrying them. Large, insulated nerve fibers that relay touch and body position send signals at 80 to 120 meters per second. Smaller, uninsulated fibers carrying pain information move much slower, at roughly 0.5 to 2 meters per second. That speed difference is why you feel the impact of stubbing your toe before the sharp pain registers a moment later.
Integration: Making Sense of Signals
Raw sensory data is useless until the brain organizes it. Integration is the process of combining incoming signals to create a sensation, form a thought, store a memory, or make a decision. Your brain’s outer layer handles much of this higher-order work. The front of the brain manages executive functions like problem-solving, planning, and directing attention. The sides of the brain handle language comprehension and memory. Specialized regions in the frontal lobe produce speech, while areas in the temporal lobe decode the meaning of the words you hear by matching sounds to patterns you’ve learned before.
Integration doesn’t always require the brain, though. In a reflex, the spinal cord processes the signal and fires off a response without waiting for the brain to weigh in. A reflex arc has five parts: a receptor that detects the stimulus, a sensory nerve that carries the signal inward, an integration center in the spinal cord (sometimes a single connection between two nerve cells), a motor nerve that carries the response outward, and an effector, typically a muscle, that acts. This is why you yank your hand away from a flame before you consciously feel the heat. The withdrawal reflex is controlled entirely at the spinal cord level.
Motor Output: Triggering a Response
Once a decision is made, whether by the brain or the spinal cord, the nervous system sends signals outward to muscles or glands. Muscles contract, glands secrete hormones or other substances, and your body responds. This motor output can be voluntary, like choosing to pick up a glass of water, or involuntary, like the contraction of your intestines pushing food along your digestive tract.
Automatic Body Regulation
A large portion of the nervous system operates without any conscious effort. The autonomic nervous system controls your heart rate, blood pressure, digestion, urination, sweating, and breathing rate. It has two main branches that work in opposition to each other.
One branch activates your “fight or flight” response during stress or danger. It raises your heart rate, increases blood pressure, dilates your airways, floods your bloodstream with sugar for quick energy, and redirects blood flow to your muscles. The chemical messengers behind this response, adrenaline and noradrenaline, also sharpen your attention and focus.
The other branch handles “rest and digest” functions. It slows your heart rate, constricts your pupils, stimulates saliva production, increases digestion, triggers insulin release to help your cells use sugar, and relaxes the muscles involved in urination and bowel movements. It also manages aspects of sexual arousal. These two branches constantly balance each other, adjusting your body’s internal state moment to moment without you ever thinking about it.
The Gut’s Own Nervous System
Your gastrointestinal tract contains its own network of neurons dense enough to earn the nickname “second brain.” This enteric nervous system is embedded in the walls of your gut and can operate independently of the brain and spinal cord. It coordinates digestion by integrating signals from an array of cell types, including immune cells and hormone-producing cells, to control the timing and strength of muscle contractions that move food through your system. It regulates secretions, manages blood flow to the intestinal lining, and helps maintain the gut’s internal environment. While the brain can influence it, the enteric nervous system handles the moment-to-moment business of digestion on its own.
Chemical Messengers That Shape How You Feel
Nerve cells communicate with each other through chemical signals called neurotransmitters, and many of the nervous system’s functions depend on which chemicals are active and where. The most abundant one in the brain is an excitatory messenger that plays a key role in thinking, learning, and memory. Its counterpart is the most common inhibitory messenger, which calms brain activity and helps regulate anxiety, concentration, sleep, and seizure risk.
Beyond those two, several other chemical messengers shape your daily experience. Serotonin influences mood, sleep, appetite, and pain perception. Dopamine drives the brain’s reward system, affecting pleasure, motivation, focus, and learning. Endorphins act as the body’s built-in pain relievers and produce the “feel good” sensation you get after intense exercise. Acetylcholine is involved in muscle contraction, memory, and learning, and is also the primary messenger used by nerves that regulate heart rate, blood pressure, and gut movement.
When the balance of these chemicals shifts, you feel it. Too little of one inhibitory messenger is linked to anxiety and sleep problems. Disruptions in dopamine signaling are connected to difficulties with motivation and attention. The nervous system’s ability to fine-tune these chemical signals is what allows it to regulate not just your body, but your emotional and mental life.
Learning, Memory, and Adaptation
The nervous system is not a fixed circuit. It rewires itself in response to experience, a property called neuroplasticity. When you practice a skill, the connections between the nerve cells involved in that skill strengthen. When you stop using a pathway, those connections weaken. This is the cellular basis of learning and forgetting.
Your brain can even generate entirely new nerve cells in adulthood, though this appears to be limited to specific regions. The hippocampus, a structure critical for forming new memories, is the best-established site where new neurons continue to be produced in adult humans. The olfactory system, which processes smell, is another. When researchers carefully control for differences in tissue quality and analytical methods, the cumulative evidence supports the conclusion that the hippocampus keeps making new neurons throughout life. This ongoing cell production is thought to play a role in memory formation and emotional regulation.
Memory itself involves multiple brain regions working together. The temporal lobes are central to storing and retrieving memories. The frontal lobe contributes to working memory, the kind you use to hold a phone number in your head long enough to dial it. Association areas across the brain’s surface link new information to things you already know, which is why a song can instantly bring back a vivid memory from years ago.

