The part of the eggplant that you cannot eat is the leafy cap part of the eggplant that is also called "calyx".
The rest of the eggplant can be eaten, including the seeds, flesh and skin which are all edible.
Eggplant can be eaten raw or cooked although cooked eggplant tastes much better.
Although raw eggplants can have a bitter taste and slightly crunchy texture which can be unappealing to some people.
And eggplant also contains small amounts of solanine, which is a naturally occurring toxin.
Cooking the eggplant reduces the solanine levels in the eggplant, but the raw eggplant can contain a bit higher levels of solanine although it's still generally safe to consume or eat raw eggplant.
Eggplant can also be hard to digest when raw, especially when eaten in large quantities.
While it is safe to eat raw eggplant, the eggplant is best eaten cooked.
Cooked eggplants are much tastier and more enjoyable and easier to digest than raw eggplant.
If you want to eat raw eggplant, ensure that the eggplant is fully ripe and has no blemishes to it and was the raw eggplant before eating.
And only eat small amounts of the raw eggplant at a time and pay attention to how your body reactions.
If you experience any stomach pain or bloating, stomach cramping etc when eating raw eggplant you should stop eating the raw eggplant and cook it instead.
Cooking eggplant also enhances the flavor and texture of the raw eggplant and also reduces the solanine content.