According to Healthline, potatoes contain two glycoalkaloid compounds, solanine and chaconine. These compounds may be detrimental if taken in excessive amounts. Glycoalkaloids, concentrated in potato's leaves, flowers, eyes and sprouts, are toxic to humans, causing gastrointestinal and neurological issues like nausea, vomiting, headaches. Nutrients in potatoes get depleted by sprouting.