This is the dominant source of modern carbonate sediment. Organisms extract calcium and carbonate ions from seawater to build their shells and skeletons. Upon death, these hard parts accumulate as sediment.
After deposition, carbonate sediments undergo diagenesis—chemical and physical changes that transform loose sediment into rock (lithification).