During the process of photosynthesis, plants release oxygen into the air. Plants use carbon dioxide, which they get from their leaves and water, from the roots and sunlight which they get from the sun in order to photosynthesise. The process of photosynthesising is when the plant uses its chlorophyll (that is what makes plants green) to change water, sunlight and carbon dioxide.