Trees, like other green plants, use a process called photosynthesis to create sugars (and more complex compounds made from sugars) using sunlight, air, and water, and producing oxygen as a by-product.
The Tree of Knowledge was part of ancient Mesopotamian mythology before it entered the Bible. The ancients believed that the gods feared that humans would discover the secret to immortality.