Dear student, The main function of the nervous system is to control the operations and movement of the body based on the sensory information that it gathers both externally and internally. It maintains consciousness, responds to senses, coordinates what we sense and feel, allow learning and memory and control other body systems.Regards