Plants and other autotrophs make food out of “thin air”—at least, they use carbon dioxide from the air to make food. Most food is made in the process of photosynthesis. This process provides more than 99% of the energy used by living things on Earth. Photosynthesis also suppliesEarth's atmosphere with oxygen.
hope it help ;P