Limestone, and its modified form dolomite, were deposited in reefs, lagoons, and as fine-grained calcium carbonate sediment (chalk) on the ocean floor. They are usually quarried in large blocks and then chopped or sawn into smaller pieces.