The taxonomy is currently under revision.
[1]Cyanobacteria are found in almost every conceivable environment, from oceans to fresh water to bare rock to soil. They can occur as planktonic cells or form phototrophic biofilms in fresh water and marine environments, they occur in damp soil, or even temporarily moistened rocks in deserts. A few are endosymbionts in lichens, plants, various protists, or sponges and provide energy for the host. Some live in the fur of sloths, providing a form of camouflage. Aquatic cyanobacteria are probably best known for the extensive and highly visible blooms that can form in both freshwater and the marine environment and can have the appearance of blue-green paint or scum. The association of toxicity with such blooms has frequently led to the closure of recreational waters when blooms are observed. Marine bacteriophage are a significant parasite of unicellular, marine cyanobacteria. When they infect cells they lyse them releasing more phages into the water.[5]
Cyanobacteria include unicellular and colonial species. Colonies may form filaments, sheets or even hollow balls. Some filamentous colonies show the ability to differentiate into several different cell types vegetative cells, the normal, photosynthetic cells that are formed under favorable growing conditions; akinetes, the climate-resistant spores that may form when environmental conditions become harsh; and thick-walled heterocysts, which contain the enzyme nitrogenase, vital for nitrogen fixation. Heterocysts may also form under the appropriate environmental conditions (anoxic) wherever nitrogen is necessary. Heterocyst-forming species are specialized for nitrogen fixation and are able to fix nitrogen gas into ammonia (NH3), nitrites (NO2-) or nitrates (NO3-) which can be absorbed by plants and converted to protein and nucleic acids [atmospheric nitrogen cannot be used by plants directly]. The rice paddies of Asia, which produce about 75% of the world's rice[6], could not do so were it not for healthy populations of nitrogen-fixing cyanobacteria in the rice paddy fertilizer.
Many cyanobacteria also form motile filaments, called hormogonia, that travel away from the main biomass to bud and form new colonies elsewhere. The cells in a hormogonium are often thinner than in the vegetative state, and the cells on either end of the motile chain may be tapered. In order to break away from the parent colony, a hormogonium often must tear apart a weaker cell in a filament, called a necridium.