Pigments in plants are made and stored in organelles called plastids. The most common plastid is chloroplast, which is a green organelle with the green pigment chlorophyll. Chlorophyll is the most important pigment for photosynthesis.
Pigments are special compounds that reflect a certain color of light. For most green plants, chlorophyll, which reflects green light is most common. However, plants have other pigments that are used for other purposes than photosynthesis, like appearance. For example, many flowers and fruits of plants have chromoplasts, which vary in color. Bell peppers have chromoplasts, which change over time to indicate how ripe a fruit is.