The behaviour of sensory ganglia in relation to their environment.