* Plants don't shine on their own. They reflect light from the sun. The green color we see in plants comes from a pigment called chlorophyll, which absorbs most colors of light except green. The green light is reflected back to our eyes, making the plant appear green.
* The moon doesn't shine on its own either. It reflects sunlight. The moon itself doesn't produce any light. It's a giant, rocky ball that reflects the light that hits it from the sun. The amount of light we see from the moon depends on how much of its surface is lit by the sun.
In short, both plants and the moon are illuminated by the sun, and we see them because they reflect that light.