Marigolds are a common companion plant in vegetable gardens as they help to deter insects like aphids, some nematodes, and sometimes even animals like rabbits and rodents. Part of the sunflower family, marigolds have been cultivated for a variety of heights, flower shapes, and colours (typically yellow and orange). They grow well in almost any kind of soil, but prefer well drained soil.
Marigolds are most commonly planted beside tomatoes, peppers, eggplant, and potatoes. They should not be planted beside legumes (peas and beans) due to chemicals they exude into the soil by their roots.