Why are green plants considered producers?

Green plants directly absorb sunlight to make energy.
Green plants contain chlorophyll.
Decomposers consume green plants.
Green plants are eaten by secondary consumers.