CO2 makes glucose. Using chlorophyll in the process of photosynthesis, they convert the sun's energy into storable form in ordered sugar molecules such as glucose. In this way, carbon dioxide from the air and water from the soil in a more disordered state are combined to form the more ordered sugar molecules.