Eggplant belongs to a family of plants known as nightshades. People may be more likely to develop an eggplant allergy if they are also allergic to other nightshades, including tomatoes, potatoes, or peppers. Eggplant also contains a chemical called salicylate, which is an ingredient in aspirin.