Photosynthesis is the process by which trees use sunlight, water and carbon dioxide to create oxygen and energy in the form of sugar.