Thorny-headed worms begin their life cycle inside invertebrates that reside in marine or freshwater systems. "Gammarus lacustris", a small crustacean that inhabits ponds and rivers, is one invertebrate that the thorny-headed worm may occupy. This crustacean is preyed on by ducks and hides by avoiding light and staying away from the surface. However, when infected by a thorny-headed worm it becomes attracted toward light and swims to the surface. "Gammarus lacustris" will even go so far as to find a rock or a plant on the surface, clamp its mouth down, and latch on, making it easy prey for the duck. The duck is the definitive host for the acanthocephalan parasite. In order to be transmitted to the duck, the parasite's intermediate host (the gammarid) must be eaten by the duck. This modification of gammarid behavior by the acanthocephalan is thought to increase the rate of transmission of the parasite to its next host by increasing the susceptibility of the gammarid to predation.