Companion planting is one of the many tools gardeners can use to grow amazingly productive and healthy vegetable gardens.
Companion planting is essentially planting crops together that support each other in some way. For example:
Planting onions, leeks, rosemary, or sage near your carrots will help repel carrot flies.
Planting aromatic herbs like dill, sage, peppermint, and rosemary with cabbage family plants supports the cabbage family plants.
Planting summer savory with green beans helps deter bean beetles and also improves the flavor of the beans.