The nervous system is composed of neurons that transmit electrical signals throughout the body. It has two main parts: the central nervous system consisting of the brain and spinal cord, and the peripheral nervous system consisting of nerves that connect the central nervous system to organs and tissues. The central nervous system controls functions like memory, emotions, vision, hearing, movement, and autonomic processes, while the peripheral nervous system transmits signals between the central nervous system and the rest of the body.