Neural circuits of C. elegans sensory processing. Sensory neurons are indicated with blue rectangles, interneurons with red ellipses, motor neurons with green diamonds and motor output with light blue octagons. Light green triangles indicate sensory stimuli. First layer interneurons are characterized as those that are postsynaptic to sensory neurons, second layer as those that are presynaptic to command interneurons and command interneurons as those that are presynaptic to motor neurons. (a) Neuronal wiring diagrams for mechanosensation, chemosensation, thermosensation and hygrosensation. (b) Neuronal wiring diagrams for O2 and CO2 sensation, osmosensation, electrosensation, pheromone sensation and odour sensation. Arrows denote chemical synapses, while bars denote electrical synapses (gap junctions). Strength and type (excitatory or inhibitory) of the synapse are not indicated. Interactions can be retrieved from http://wormweb.org/neuralnet [60].