Shoo-fly (Nicandra physalodes)
The shoo-fly plant is a pretty addition to any garden with its beautiful bell-shaped purple flowers and Chinese-lantern style fruit, but it is for its purported insect repellent properties that it is sought after in the herb and vegetable garden.
Although some texts mention it as a medicine, it is mostly thought of as inedible and even toxic (belonging to the nightshade family). It also self-seeds readily, and have been mentioned as invasive to crop lands, but has not been classified as a noxious weed.
It is also known as Peruvian Bluebell, Apple of Peru or Apple of Sodom.