Sand on a beach is covered by other layers of sand over time. The extra layers compress the first layer, packing it tighter and tighter. Over time, the bottom layers of sand have formed into sandstone, with colored bands showing the different layers.

What kind of rock can sandstone be classified as?

A. igneous rock
B. volcanic rock
C. sedimentary rock
D. metamorphic rock