Female dragonflies lay eggs in or near water, often on plants. When laying eggs, some species go under the water to lay their eggs on a good surface. The eggs then hatch into nymphs. While in the nymph stage they eat mosquito larvae and other things.