Specifically, they are formed from sedimentary rock called limestone, which was deposited over millions of years from the skeletons and shells of marine organisms.