Eggplant is a “nightshade” food. Nightshade is a family of plants that contain a toxin called “solanine”.
Solanine is a toxin released by this plant family into their fruits to make the fruit deadly to animals who try to eat them. However, in small quantities, as much as we have in our daily lives, is not harmful and is usually accepted well by our bodies.
Not just eggplant, paprika, tomatoes, peppers, and potatoes are also nightshade foods and contain the toxin solanine. In some cases, when ingested in high quantities, it can even cause paralysis and death.
Also, on heating these vegetables, the toxicity of solanine reduces.