Microbial mats are the earliest form of life on Earth for which there is good fossil evidence, from 3500 million years ago, and were for a long period the most important members of the planet's ecosystems.