Glycoalkaloids are natural pesticides produced by nightshade plants. [They are also present in small amounts in a few non-nightshades: cherries, apples, and sugar beets.] Glycoalkaloids are bitter compounds which are found throughout the plant, but especially in leaves, flowers, and unripe fruits.