Carbonate Microbialities

How do they form in the modern and what environmental signatures do they preserve in the ancient?