Potatoes contain glycoalkaloids, a type of chemical compound found in members of the nightshade family that can be toxic if consumed in high amounts. Potatoes, particularly green potatoes, contain two types of glycoalkaloids: solanine and chaconine.
More useful articles on a similar topic 👇
How do I know if my potatoes are toxic?What part of potato is toxic?