While in the kitchen eggplant is treated as a vegetable because we do not eat it raw for its sweetness, scientists classify it as a fruit since it has seeds inside.