What contains pigments needed for photosynthesis?

chlorophyll is needed for photosynthesis to occur. Its green pigment allows it to trap sunlight needed to split water molecules into oxygen and hydrogen.