Chlorophyll is the answer I am 100% sure
In photosynthesis, a thylakoid is a sac located in a chloroplast which absorbs light in the form of photons through proteins called Photosystems I and II and cytochrome complexes and uses it to harvest ATP. All of this occurs during the light reaction step of photosynthesis on the membranes of the thylakoids.