The nervous system controls and coordinates the body's activities and consists of the central nervous system and the peripheral nervous system. The central nervous system is comprised of the brain and spinal cord. The peripheral nervous system consists of nerves that connect to the central nervous system and transmit signals between different parts of the body. The nervous system has sensory neurons that receive stimuli and motor neurons that send signals to muscles and glands to respond.