It works in much the same manner to stop garden pests naturally when onions and garlic are growing near cabbage and fellow Brassicaceae family members.
Both onions and garlic are known as excellent repellents for cabbage moths, worms and loopers, and help keep cabbage, broccoli and cauliflower pest free.
Growing marigolds in the garden are great for deterring pests, according to experts.
They said: “Its pungent scent helps to repel aphids, nematodes, tomato hornworms, squash bugs and cabbage worms.
Even more, it also can help to keep rabbits, deer and squirrels out too.