The apricot tree has been planted for the tree of knowledge of good and evil. The tradition that this tree in the Bible story was an apple has arisen because the word in the Hebrew and Greek originally meant any round palatable fruit, later on this same word became specialised to mean apple only. The apple did not grow in ancient Palestine and the apricot is still known as "the apple of gold" in the East.
