In photosynthesis, energy from sunlight drives the carbon fixation pathway. Oxygenic photosynthesis is used by the primary producers —plants, algae, and cyanobacteria. They contain the pigment chlorophyll, and use the Calvin cycle to fix carbon autotrophically.