The nervous system controls all the functions of the body through the transmission of nerve impulses throughout the body.
The nervous system is composed of:
Central nervous system: brain, spinal cord
Peripheral nervous system: nerves
Sensory nerves in various parts of the body conduct nerve impulses and transmit the signals to the central nervous system that generates a response that travels through motor neurons to the site of the stimulus.
Apart from the nervous system that communicates through electrical signals, the endocrine system coordinates body functions through chemical signals.