In Genesis 2, we are told that there were two named trees in the Garden of Eden--the Tree of the Knowledge of Good and Evil and the Tree of Life.
When Adam and Eve ate fruit from the Tree of the Knowledge of Good and Evil, this was a sin against God, since He had commanded them not to do so.
After this, God indicates that they should not be allowed to eat again from the Tree of Life, since doing so would allow them to live forever, presumably in a state of separation from God. Consequently, God placed an angel to guard the way to the Tree of Life.
So, what happened to these two trees--and the Garden itself for that matter? Did these trees eventually die as well, perhaps at the time of the flood?
Out of the ground the Lord God caused to grow every tree that is pleasing to the sight and good for food; the tree of life also in the midst of the garden, and the tree of the knowledge of good and evil. Genesis 2:9 NASB
15 Then the Lord God took the man and put him into the garden of Eden to cultivate it and keep it. 16 The Lord God commanded the man, saying, “From any tree of the garden you may eat freely; 17 but from the tree of the knowledge of good and evil you shall not eat, for in the day that you eat from it you will surely die.” Genesis 2:15-17 NASB
Then the Lord God said, “Behold, the man has become like one of Us, knowing good and evil; and now, he might stretch out his hand, and take also from the tree of life, and eat, and live forever”— 23 therefore the Lord God sent him out from the garden of Eden, to cultivate the ground from which he was taken. 24 So He drove the man out; and at the east of the garden of Eden He stationed the cherubim and the flaming sword which turned every direction to guard the way to the tree of life. Genesis 3:22-24 NASB