Pigment is a molecule that absorbs light
-Sasha Muy :)
That pigment is called clorophyl.
The leaves are full of chloroplasts which contain the pigment chlorophyll. Green is the light wave reflected by this pigment.
Chloroplasts contain the green pigment, and other molecules that help in the function of food production through photosynthesis in plants.