With insect populations in decline, a study shows how gardens can support beetles, spiders and the like.