Researchers found that a certain species of sea slug, Elysia chlorotica, has in its genome a gene for repairing and maintaining chloroplasts. The gene is identical to one found in the algae from which the slugs steal chloroplasts for performing photosynthesis during periods of dietary shortfall. How did the slugs get the gene?