What captures energy from sunlight during photosynthesis?