The central nervous system consists of the two major structures: the brain and spinal cord. The brain is encased in the skull, and protected by the cranium.[7] The spinal cord is continuous with the brain and lies caudaly to the brain,[8] and is protected by the vertebra.[7] The spinal cord reaches from the base of the skull, continues through[7] or starting below[9] the foramen magnum,[7] and terminates roughly level with the first or second lumbar vertebra,[8][9] occupying the upper sections of the vertebral canal.[4]

Dissection of a brain with labels showing the clear division between white and gray matter.

Microscopically, there are differences between the neurons and tissue of the central nervous system and the peripheral nervous system.[citation needed] The central nervous system is divided in white and gray matter.[8] This can also be seen macroscopically on brain tissue. The white matter consists of axons and oligodendrocytes, while the gray matter chiefly consists of neurons. Both tissues include a number of glial cells (although the white matter contains more), which are often referred to as supporting cells of the central nervous system. Different forms of glial cells have different functions, some acting almost as scaffolding for neuroblasts to climb during neurogenesis such as bergmann glia, while others such as microglia are a specialized form of macrophage, involved in the immune system of the brain as well as the clearance of various metabolites from the brain tissue.[4]Astrocytes may be involved with both clearance of metabolites as well as transport of fuel and various beneficial substances to neurons from the capillaries of the brain. Upon CNS injury astrocytes will proliferate, causing gliosis, a form of neuronal scar tissue, lacking in functional neurons.[4]

From and to the spinal cord are projections of the peripheral nervous system in the form of spinalnerves (sometimes segmental nerves[7]). The nerves connect the spinal cord with skin, joints, muscles etc. and allow for the transmission of efferent motor as well as afferent sensory signals and stimuli.[8] This allows for voluntary and involuntary motions of muscles, as well as the perception of senses. All in all 31 spinal nerves project from the brain stem,[8] some forming plexa as they branch out, such as the brachial plexa, sacral plexa etc.[7] Each spinal nerve will carry both sensory and motor signals, but the nerves synapse at different regions of the spinal cord, either from the periphery to sensory relay neurons that relay the information to the CNS or from the CNS to motor neurons, which relay the information out.[8]

Diagram of the columns and of the course of the fibers in the spinal cord. Sensory synapses occur in the dorsal spinal cord (above in this image), and motor nerves leave through the ventral (as well as lateral) horns of the spinal cord as seen below in the image.

Different ways in which the central nervous system can be activated without engaging the cortex, and making us aware of the actions. The above example shows the process in which the pupil dilates during dim light, activating neurons in the spinal cord. The second example shows the constriction of the pupil as a result of the activation of the Eddinger-Westphal nucleus (a cerebral ganglion).

The spinal cord relays information up to the brain through spinal tracts through the "final common pathway"[8] to the thalamus and ultimately to the cortex. Not all information is relayed to the cortex, and does not reach our immediate consciousness, but is instead transmitted only to the thalamus which sorts and adapts accordingly. This in turn may explain why we are not constantly aware of all aspects of our surroundings.[citation needed]

Schematic image showing the locations of a few tracts of the spinal cord.

Reflexes may also occur without engaging more than one neuron of the central nervous system as in the below example of a short reflex.

Apart from the spinal cord, there are also peripheral nerves of the PNS that synapse through intermediaries or ganglia directly on the CNS. These 12 nerves exist in the head and neck region and are called cranial nerves. Cranial nerves bring information to the CNS to and from the face, as well as to certain muscles (such as the trapezius muscle, which is innervated by accessory nerves[7] as well as certain cervical spinal nerves).[7]

Two pairs of cranial nerves; the olfactory nerves and the optic nerves[2] are often considered structures of the central nervous system. This is because they do not synapse first on peripheral ganglia, but directly on central nervous neurons. The olfactory epithelium is significant in that it consists of central nervous tissue expressed in direct contact to the environment, allowing for administration of certain pharmaceuticals and drugs. [5]

Rostrally to the spinal cord lies the brain.[8] The brain makes up the largest portion of the central nervous system, and is often the main structure referred to when speaking of the nervous system. The brain is the major functional unit of the central nervous system. While the spinal cord has certain processing ability such as that of spinal locomotion and can process reflexes, the brain is the major processing unit of the nervous system.[citation needed]

The brainstem consists of the medulla, the pons and the midbrain. The medulla can be referred to as an extension of the spinal cord, and its organization and functional properties are similar to those of the spinal cord.[8] The tracts passing from the spinal cord to the brain pass through here.[8]

The next structure rostral to the medulla is the pons, which lies on the ventral anterior side of the brainstem. Nuclei in the pons include pontine nuclei which work with the cerebellum and transmit information between the cerebellum and the cerebral cortex.[8] In the dorsal posterior pons lie nuclei that have to do with breathing, sleep and taste.[8]

The midbrain (or mesencephalon) is situated above and rostral to the pons, and includes nuclei linking distinct parts of the motor system, among others the cerebellum, the basal ganglia and both cerebral hemispheres. Additionally parts of the visual and auditory systems are located in the mid brain, including control of automatic eye movements.[8]

The brainstem at large provides entry and exit to the brain for a number of pathways for motor and autonomic control of the face and neck through cranial nerves,[8] and autonomic control of the organs is mediated by the tenth cranial (vagus) nerve.[4] A large portion of the brainstem is involved in such autonomic control of the body. Such functions may engage the heart, blood vessels, pupillae, among others.[8]

The cerebellum lies posteriorly or dorsally to the pons. The cerebellum is composed of several dividing fissures and lobes. Its function includes posture and coordination of movements of eyes, limbs as well as that of the head. Further it is involved in motion that has been learned and perfected though practice, and will adapt to new learned movements.[8] Despite its previous classification as a motor structure, the cerebellum also displays connections to areas of the cerebral cortex involved in language as well as cognitive functions. These connections have been recently shown through anatomical studies, such as fMRI and PET.[8]

The body of the cerebellum holds more neurons than any other structure of the brain including that of the larger cerebrum (or cerebral hemispheres), but is also more extensively understood than other structures of the brain, and includes fewer types of different neurons.[8] It handles and processes sensory stimuli, motor information as well as balance information from the vestibular organ.[8]

The two structures of the diencephalon worth noting are the thalamus and the hypothalamus. The thalamus acts as a linkage between incoming pathways from the peripheral nervous system as well as the optical nerve (though it does not receive input from the olfactory nerve) to the cerebral hemispheres. Previously it was considered only a "relay station", but it is engaged in the sorting of information that will reach cerebral hemispheres (neocortex).[8]

Apart from its function of sorting information from the periphery, the thalamus also connects the cerebellum and basal ganglia with the cerebrum. In common with the aforementioned reticular system the thalamus is involved in wakefullness and consciousness, such as though the SCN.[8]

The hypothalamus engages in functions of a number of primitive emotions or feelings such as hunger, thirst and maternal bonding. This is regulated partly through control of secretion of hormones from the pituitary gland. Additionally the hypothalamus plays a role in motivation and many other behaviors of the individual.[8]

The cerebrum of cerebral hemispheres make up the largest portion of the human brain. Various structures combine forming the cerebral hemispheres, among others, the cortex, basal ganglia, amygdala and hippocampus. The hemispheres together control a large portion of the functions of the human brain such as emotion, memory, perception and motor functions. Apart from this the cerebral hemispheres stand for the cognitive capabilities of the brain.[8]

Connecting each of the hemispheres is the corpus callosum as well as several additional commissures.[8] One of the most important parts of the cerebral hemispheres is the cortex, made up of gray matter covering the surface of the brain. Functionally, the cerebral cortex is involved in planning and carrying out of everyday tasks.[8]

The hippocampus is involved in storage of memories, the amygdala plays a role in perception and communication of emotion, while the basal ganglia play a major role in the coordination of voluntary movement.[8]

A map over the different structures of the nervous systems in the body, showing the CNS, PNS, and ENS.

This differentiates the central nervous system from the peripheral nervous system, which consists of neurons, axons and Schwann cells. Oligodendrocytes and Schwann cells have similar functions in the central and peripheral nervous system respectively. Both act to add myelin sheaths to the axons, which acts as a form of insulation allowing for better and faster proliferation of electrical signals along the nerves. Axons in the central nervous system are often very short (barely a few millimeters) and do not need the same degree of isolation as peripheral nerves do. Some peripheral nerves can be over 1m in length, such as the nerves to the big toe. To ensure signals move at sufficient speed, myelination is needed.

The way in which the Schwann cells and oligodendrocytes myelinate nerves differ. A Schwann cell usually myelinates a single axon, completely surrounding it. Sometimes they may myelinate many axons, especially when in areas of short axons.[7] Oligodendrocytes usually myelinate several axons. They do this by sending out thin projections of their cell membrane which envelop and enclose the axon.

Planarians, members of the phylum Platyhelminthes (flatworms), have the simplest, clearly defined delineation of a nervous system into a central nervous system (CNS) and a peripheral nervous system (PNS).[10][11] Their primitive brains, consisting of two fused anterior ganglia, and longitudinal nerve cords form the CNS; the laterally projecting nerves form the PNS. A molecular study found that more than 95% of the 116 genes involved in the nervous system of planarians, which includes genes related to the CNS, also exist in humans.[12] Like planarians, vertebrates have a distinct CNS and PNS, though more complex than those of planarians.

The CNS of chordates differs from that of other animals in being placed dorsally in the body, above the gut and notochord/spine.[13] The basic pattern of the CNS is highly conserved throughout the different species of vertebrates and during evolution. The major trend that can be observed is towards a progressive telencephalisation: the telencephalon of reptiles is only an appendix to the large olfactory bulb, while in mammals it makes up most of the volume of the CNS. In the human brain, the telencephalon covers most of the diencephalon and the mesencephalon. Indeed, the allometric study of brain size among different species shows a striking continuity from rats to whales, and allows us to complete the knowledge about the evolution of the CNS obtained through cranial endocasts.

Mammals – which appear in the fossil record after the first fishes, amphibians, and reptiles – are the only vertebrates to possess the evolutionarily recent, outermost part of the cerebral cortex known as the neocortex.[14] The neocortex of monotremes (the duck-billed platypus and several species of spiny anteaters) and of marsupials (such as kangaroos, koalas, opossums, wombats, and Tasmanian devils) lack the convolutions – gyri and sulci – found in the neocortex of most placental mammals (eutherians).[15] Within placental mammals, the size and complexity of the neocortex increased over time. The area of the neocortex of mice is only about 1/100 that of monkeys, and that of monkeys is only about 1/10 that of humans.[14] In addition, rats lack convolutions in their neocortex (possibly also because rats are small mammals), whereas cats have a moderate degree of convolutions, and humans have quite extensive convolutions.[14] Extreme convolution of the neocortex is found in dolphins, possibly related to their complex echolocation.