Fireflies help gardens by eating pests like slugs and snails, and they also act as pollinators. To attract fireflies, let parts of your yard grow wild with tall grass, leaf litter, and native plants.