they are also good at repelling bad insects. my father used to grow them every third row in the garden and plant a few with his tomatoes. the seeds from the previous year would also pop up all over the garden. some were weeded out and some left to keep it all going.
Willie Smits: Village Based Permaculture Approaches in Indonesia (video)