Yucca shows a very close relationship with a species of moth, where none of the two can complete its life cycle without the other. The moth's eggs are deposited in the locule of the ovary and the flower, in turn, is pollinated by the moth. As the seeds start developing, the larvae of the moth hatch out of the eggs.