In coral reef ecosystems, amid stony corals, fronds of algae and schools of fish, microorganisms are essential for recycling nutrients—transforming bits of organic matter into forms of nitrogen and phosphorus, for example, that are useful to photosynthetic organisms.