Not all parts of a plant are necessarily toxic. For instance, the leaves of rhubarb contain oxalic acid, which can cause illness if consumed in large amounts, but the stalks are generally safe to eat when cooked. Similarly, the seeds of apples and cherries contain cyanogenic compounds that can release cyanide, but the fruit itself is safe for consumption.