Figure 20.10: Building Blocks of Limestone Some foraminiferans secrete calcium carbonate to form shells. The shells of different species have distinctive shapes. Over millions of years, the shells of foraminiferans have accumulated to form limestone deposits.