text: In contrast to purple bacteria and other bacteria performing anoxygenic photosynthesis, thylakoid membranes of cyanobacteria are not continuous with the plasma membrane but are separate compartments. The photosynthetic machinery is embedded in the thylakoid membranes, with phycobilisomes acting as light-harvesting antennae attached to the membrane, giving the green pigmentation observed (with wavelengths from 450 nm to 660 nm) in most cyanobacteria.
  While most of the high-energy electrons derived from water are used by the cyanobacterial cells for their own needs, a fraction of these electrons may be donated to the external environment via electrogenic activity.