Solanine
Solanine is a glycoalkaloid poison found in species of the nightshade family (Solanaceae), such as the Potato (Solanum tuberosum) and the Tomato (Solanum lycopersicum). It can occur naturally in any part of the plant, including the leaves, fruit, and tubers. Solanine has fungicidal and pesticidal properties, and it is one of the plant's natural defenses. Solanine was first isolated in 1820 from the berries of the European black nightshade (Solanum nigrum), after which it was named.
Read more about Solanine.