It is a type of glycoalkaloid found in nightshade plants (They belong to the Solanaceae family). Among the plants mentioned are tomato, tobacco and potato among others.
solaninesbelonging to a glycoalkaloid found in tomatoes and tobacco, but the most ingested is potato. Peeling the potato or frying it (not cooking it) destroys it.