Plants are green because of small cells called green grains. These are also used for respiration, which is the opposite of photosynthesis. Plants respire at night almost all the oxygen they produce during the day. Therefore, the myth that the rainforest is the lungs of the planet is untrue.