I found this plant growing in my (future) garden with leaves that remind me of tomato leaves, small white flowers, and bunches of black berries that are matte but also kind of shiny at the same time. The plant is about a foot tall, herbaceous. An online search tells me this is probably black nightshade, which apparently is not toxic and may even be used in food or medicine? I don't want to inadvertently remove it if it's useful! But of course I don't want to leave it if it's poison; the puppy tends to sample everything she can get her mouth on. :/
Attaching three photos with leaves, berries, and flowers.
Edit to add: The next day, I went to my field, and to my seed stash, and purged every trace of the plant from my farm. It hasn't reappeared.
Jim Fry wrote:It's a fairly useful herb, if used correctly. But it can have severe effects if consumed to excess or incorrectly. We would move it someplace that keeps it happy, but is out of reach of children and other useful animals.
What are it's uses? I have a good amount of it growing.
I've seen quite a few threads where people go to great lengths, to take something poisonous and make it edible through various processes. Pokeweed comes to mind. With all the effort that goes into making it somewhat edible, those eating it could have put that time into growing chard, or beans that don't require massive processing and caution about poisoning.
"Look at me, I didn't die," seems to be the motivation. I eat every day, and never have to consider whether or not I'm taking a toxic dose, since I don't eat those things.
I did some online research,
Our American Nightshade is Solanum americanum, not nigrum.
Good 'ole Wikipedia has a great article on it https://en.wikipedia.org/wiki/Solanum_americanum
German Wiki has a great article on S. nigrum and tries to pinpoint the cause of S.n and S. a's dual nature.
Translated from the German wiki page on Solanum nigrum: Due to the high content of alkaloids , especially in the immature berries, the plant is often categorized as a poisonous plant, but ripe berries and the leaves are used as vegetables in some parts of the world. Include all parts of the black nightshade which the glyco alkaloids attributed to steroid alkaloids solanine , Solasonine , solamargine and chaconine, The concentration of these substances varies very strongly and is probably dependent on the climate and type of soil in which the plant grows, in addition the concentration decreases with increasing age of the plant. This explains why there are numerous evidence that either categorize the plant as a poisonous plant or describe it as a foodstuff. In fresh leaves, 1 mg / 100 g of ascorbic acid (vitamin C) was detected. 
There is a book about Nightshades I found FREE online. https://books.google.com/books?id=nfau8bsLyUUC&lpg=PA5&ots=KirxF8-AYT&dq=solanum+nigrum+medicinal+uses&lr=&pg=PP1&hl=en#v=onepage&q=solanum%20nigrum%20medicinal%20uses&f=false
The USDA site:https://plants.usda.gov/core/profile?symbol=SOAM
In German, the name translates into Black Night Shadows which sounds very poetic.
I hope this helps!
Joseph Lofthouse wrote:
I consider both species to be unfit for human consumption.
Oh. We quite enjoyed our garden huckleberries a couple years ago. Though the quantity per meal was likely under 50 for each of us. I think they were in cooked dishes as well. We did munch a few here and there raw in the garden. We did not experience any problems.
I tool a look around, and there are different Latin names associated with "garden huckleberries". So there is confusion. I would leave any unknown plants alone now, and only use those plants I am sure of their origin. For me, that means from a seed company, or self saved seeds.
Again, the leaves do not quite match the ones I grew from a seed company.