Guinea pigs should not eat eggplant because it acts as a moderate irritant for their digestive system. Eggplant belongs to the nightshade family, and its leaves, unripened fruit, and stems contain solanine, which can be poisonous for guinea pigs, causing potential harm to their health. Therefore, it is not recommended to include eggplant in their diet.