Energy in ecosystems Photosynthesis – the processof combining carbon dioxide and water using sunlight energy to produce sugar (glucose). CO 2 + H 2 O —>