Unlike some other vegetable plants, however, the only edible part a potato produces is the tuber. Potato leaves can be toxic and even some other parts of the plant can cause problems given the right conditions. That's because potatoes protect themselves with solanine.
More useful articles on a similar topic 👇
Do strawberries have solanine?Are potato leaves poisonous to humans?