The nervous system has three main functions: sensory, integration, and motor. It is divided into the central nervous system (CNS), which includes the brain and spinal cord, and the peripheral nervous system (PNS). The CNS contains neurons and neuroglial cells like astrocytes and oligodendrocytes, while the PNS contains Schwann cells. Neurons transmit signals through electrical and chemical processes between each other across synapses using neurotransmitters to allow for neural control.