There is a small, but very important molecule responsible for this called chlorophyll. All plants have chlorophyll, which is a green pigment in leaves and stems. Chlorophyll is a light-absorbing pigment, and it actually gets its green color because it absorbs blue and red wavelengths of light.