Bridging the generation gap

A farmer can remember what has happened last year and the year before, and can prepare accordingly. But what about plants? How can they pass on their experience to their offspring?