The nervous system has three main functions: To collect sensory input from the body and external environment. To process and interpret the sensory input. To respond appropriately to the sensory input.