They inhabit almost all biotopes including lakes, rivers, streams and reservoirs, oceans and estuaries, as well as extreme habitats such as hot springs, alkaline lakes, desert soils, and even glaciers, where their role as primary producers is of great importance