It is called,Photosynthesis,Sunlight and thin air provides the remaining Elements Nutrients Energy. https://www.snexplores.org/article/explainer-how-photosynthesis-works#:~:text=Photosynthesis%20is%20the%20process%20of,water%20and%20oxygen%20come%20out.