The nervous system is a complex network of neurons and supporting cells that transmits signals throughout the body, enabling coordination of actions and sensory information. It is divided into the central nervous system, which includes the brain and spinal cord, and the peripheral nervous system, which connects the rest of the body to the central nervous system.