What is Limestone Made Out of?

Limestone is made from tiny sea snails and other creatures similar to snails that lived in the sea billions of years ago, they died and rotted and pressure form other shells, from the water and the sand being washed over the shells, compressed them together turning them into rock.