In autotrophic bacteria, during photosynthesis water is not hydrogen donor. As a result, oxygen is not evolved. Hence, the photosynthesis is anoxygenic. In cyanobacteria, water is hydrogen donor during photosynthesis. As a result, oxygen evolves. Hence, the photosynthesis is oxygenic.
In autotrophic bacteria, photosynthetic pigment is bacteriochlorophyll while in cyanobacteria photosynthetic pigment is chlorophyll a.
Accessory photosynthetic pigments are absent in autotrophic bacteria. In cyanobacteria. accessory pigments such as phycocyanin and phycoerythrin are present in abundance.