Dear student,
Not all plants are known to humans. Therefore, many unknown plants secrete chemical substances that are harmful for their predators, in order to protect themselves. If we consume such plants, those chemicals might cause irritations in our stomach, tongue, throat etc. In many cases, those chemicals might lead to the stomach infections and also can be fatal. Hence, we should avoid eating unknown plants.
Regards