Cyanobacteria and some other photosynthetic bacteria don’t have chloroplasts. How do they conduct photosynthesis?
Cyanobacteria have bluish pigment phycocyanin, which they use to capture light for photosynthesis. Some green bacteria (cyanobacteria) are red or pink due to pigment phycoerythrin. Whatever the colour of cyanobacteria, they are photosynthetic and so can manufacture food.