By the different peoples of the world we can find very similar myths in an effort to explain the beginning, of everything from nothing, by a divine intelligence or a Source of life.
After the wrong choice and action of the first human beings the elohim had no other choice than to bring over man the curse He had warned them for. But out of love for His creatures He also provided straight away a solution against the curse of death and gave man a second chance.
God made Himself a beautiful Royal Garden, the Gan Eden with in the midst of it a Etz HaDa'as Tov v'Rah or Tree of moral of which God asked man not to touch it nor eat from the fruit that gives knowledge about good and evil because they would then certainly die. But we come to see that the nachash (temptation) was to strong for the isha and she got her husband involved in her act of disobedience to the Elohim.
Created in the image of God has every human being some elements or characteristics of the Elohim and has each individual the task to try to get all their characteristics in line with those of the Most High.