I read that plants that have umbril shapes like parsley and Queen Anne's Lace deter hornworms as the tiny wasps that destroy the hornworm pupae like these plants. The summer that I planted parsley under the peach tree instead of the garden, I was inundated with hornworms even though the tree is only a few feet from the garden. When I resumed planting parsley in the garden, the hornworms disappeared.