The nervous system is divided into two main parts: the central nervous system (CNS) and the peripheral nervous system (PNS). The CNS consists of the brain and spinal cord, while the PNS includes nerves that connect to the CNS. Together they allow the body to receive sensory input, process information in the CNS, and send motor output signals through the PNS to respond appropriately. Within the nervous system are neurons, which transmit signals, and neuroglial cells that support and protect the neurons.