Insect repelling flowers in vegetable gardens

Flowers in the vegetable garden? Why not! Planted at the borders, annual alyssum and cosmos attract beneficial insects and discourage certain harmful pests. Marigolds protect tomatoes from threadworm.