Genesis 2:9 New International Version (NIV)
9 The Lord God made all kinds of trees grow out of the ground—trees that were pleasing to the eye and good for food. In the middle of the garden were the tree of life and the tree of the knowledge of good and evil.
Genesis 2:16-17 New International Version (NIV)
16 And the Lord God commanded the man, “You are free to eat from any tree in the garden; 17 but you must not eat from the tree of the knowledge of good and evil,for when you eat from it you will certainly die.”
There are two views about the two trees. One view is that the trees were real, but they were symbolic. Eternal life was pictured as as eating from the tree of life. Another view is that the trees were real and possessed special properties, so by eating the fruit from the tree of life, Adam and Eve could have eternal life with a permanent relationship as God’s children. Either way, sin separates. Sin separated Adam and Eve from the tree of life. But the tree of life does appear again in scripture in Revelation 22 with people enjoying eternal life with God.
Revelation 22 New International Version (NIV)
22 Then the angel showed me the river of the water of life, as clear as crystal,flowing from the throne of God and of the Lamb 2 down the middle of the great street of the city. On each side of the river stood the tree of life, bearing twelve crops of fruit, yielding its fruit every month. And the leaves of the tree are for the healing of the nations. 3 No longer will there be any curse. The throne of God and of the Lamb will be in the city, and his servants will serve him. 4 They will see his face, and his name will be on their foreheads. 5 There will be no more night. They will not need the light of a lamp or the light of the sun, for the Lord God will give them light. And they will reign for ever and ever.