God created the first man, Adam and the first woman, Eve. Adam and Eve were placed in the Garden of Eden. He told Adam and Eve that they could eat from any fruit from the trees except for the tree of good and evil. God warned them that if they ate from the tree they would die.
Genesis 3,1 ff
1 Now, the snake was the most subtle of all the wild animals that Yahweh God had made. It asked the woman, ‘Did God really say you were not to eat from any of the trees in the garden?’
2 The woman answered the snake, ‘We may eat the fruit of the trees in the garden.
3 But of the fruit of the tree in the middle of the garden God said, “You must not eat it, nor touch it, under pain of death.”
4 Then the snake said to the woman, ‘No! You will not die!
5 God knows in fact that the day you eat it your eyes will be opened and you will be like gods, knowing good from evil.’
6 The woman saw that the tree was good to eat and pleasing to the eye, and that it was enticing for the wisdom that it could give. So she took some of its fruit and ate it. She also gave some to her husband who was with her, and he ate it.
7 Then the eyes of both of them were opened and they realised that they were naked. So they sewed fig-leaves together to make themselves loin-cloths.
8 The man and his wife heard the sound of Yahweh God walking in the garden in the cool of the day, and they hid from Yahweh God among the trees of the garden.