Which of the following is used in photosynthesis by both plants and cyanobacteria?

a) Water, sunlight, and carbon dioxide
b) Water
c) Sunlight
d) Carbon dioxide