It makes a great companion plant for almost all crops in your garden. I plant it within my rows of peppers, eggplant, and tomatoes.
It can be a great trap crop for aphids. And it has repellent qualities for other pests including squash bugs, potato beetles, and other beetles.
Marigolds have been recommended by gardeners for decades. It’s been long touted as a catch all for deterring all sorts of pests.
They attract tons of pollinators. You can use them as a living trellis to grow pole beans or other climbing crops up.