ANSWER - When potatoes are exposed to light, metabolic activity in the skin increases as it prepares to send out shoots. As a result, chlorophyll is formed, which provides the green color. Another product formed is
solanine, which is a glycoalkaloid toxin. It has a bitter taste and can irritate the gastrointestinal tract. If enough is eaten it could cause symptoms such as vomiting and diarrhea. Because of the bitter taste, it is rare for someone to eat enough to actually get sick.