Cyanobacteria ("Blue-green algae") are photosynthetic and can form stromatolites. These two species of Oscillatoria form a filamentous colony.
Some filamentous colonies such as Anabaena have cells specialized for nitrogen fixation.