photosynthesis using light from the sun , plants combine water and carbon dioxide to make sugar .