An animal's survival strongly depends on a nervous system that can rapidly process and integrate the changing quality of its environment and promote the most appropriate physiological responses. This is amply demonstrated in the nematode worm Caenorhabditis elegans, where its sensory system has been shown to impact multiple physiological traits that range from behavior and developmental plasticity to longevity. ⋯ Here we review our current understanding of how the C. elegans sensory system affects diverse physiological traits, whose coordination would be essential for survival under fluctuating environments. The knowledge we derive from the C. elegans studies should provide testable hypotheses in discovering similar mechanisms in higher animals.