the fossil record extends back to a dog-like ancestor some 55 million years ago, which gave rise to the first horse-like species 55 to 42 million years ago in the genus eohippus.
Plants take carbon dioxide from the atmosphere through the leaves. It diffuses through the small pore on the surface of the leaves called stomata. And the plants gets the water and nutrients from the soil through the roots. For photosynthesis process it needs water, carbon dioxide, nutrients and sun light.