A leaf is an above-ground plant organ and it is green. Its main functions are photosynthesis and gas exchange. A leaf is often flat, so it absorbs the most light, and thin, so that the sunlight can get to the chloroplasts in the cells. Most leaves have stomata, which open and close. They regulate carbon dioxide, oxygen, and water vapour exchange with the atmosphere.