That gardening is an important hobby for many fairy tale/nursery rhyme characters - in particular for Mary Mary who is very keen to see her garden grow (though personally I worry a bit about the pretty maids all in a row bit of the rhyme. Whatever packet of seeds Mary got to get those growing in her garden should be used with extreme caution. Pretty maids today, heaven knows what tomorrow).
That it pays to be observant - take, for example, Ali Baba watching how the thieves get into their cave but it is so important to have all the information needed. In Ali's case it was how to get out again. Always, always have an exit strategy.