Autotrophic prokaryotes obtain energy from hydrogen sulfide by chemosynthesis and live symbiotically within the worms.