are primary producers in aquatic systems as are true algae.
For this reason, autotrophic bacteria (predominantly cyanobacteria)
are often categorized as 'algae', though the organisms are by no means closely related.
Cyanobacteria used to be mistakenly called 'blue-green algae'. Ecologically, much of what applies to algae is relevant to autotrophic bacteria.