Dear student,
Algae also uses sunlight to perform photosynthesis to prepare their own food, they have an important organelle i.e, chloroplast, which contains the light absorbing pigments mainly chlorophyll, responsible for capturing the energy in sunlight during the process of photosynthesis.
Regards.