Chloroflexi is one of four classes of bacteria produce energy from light and are named for their green pigment , usually found in photosynthetic bodies . Chloroflexi or Chlorobacteria ( formerly known as green non-sulfur bacteria ) is one of four classes of bacteria in the phylum Chloroflexi . They produce energy from light and are named for their green pigment , usually found in photosynthetic bodies called chlorosomes .