Photosynthetic pigments role in photosynthesis?

What role do photosynthetic pigments play in the process of photosynthesis, and where are these pigments found?