nervous system function simple definition