“And out of the ground made the Lord God to grow every tree that is pleasant to the sight, and good for food; the tree of life also in the midst of the garden, and the tree of knowledge of good and evil.”
Genesis 2:9
The Garden of Eden had two trees. The trees had functions and rules given by God. The rules were the first laws God gave humanity. These laws guided the way humanity interacted with the world.
Life
“And the Lord God said, Behold, the man is become as one of us, to know good and evil: and now, lest he put forth his hand, and take also of the tree of life, and eat, and live for ever: Therefore the Lord God sent him forth from the garden of Eden, to till the ground from whence he was taken.”
Genesis 3:22-23
Knowledge of Good and Evil
“And the Lord God commanded the man, saying, Of every tree of the garden thou mayest freely eat: But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in the day that thou eatest thereof thou shalt surely die.”
Genesis 2:16-17
Blessed are they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city.
Revelation 22:14