# data[].attributes.body
most rocks start out as sediments. sediments are things like sand, gravel and other random things you find outside on the ground. these sediments are made into sedimentary rocks by compaction and cementation. the sedimentary rocks are made into metamorphic by heat and pressure. then to igneous by cooling and hardening. anything can go back to sediments by weathering and erosion.

# data[].attributes.body
igneous rocks are lava or magma that hardens and cools. if they cool fast they will be glassy and have gas holes. if they cool slowly they can have big crystals

# data[].attributes.body
metamorphic rocks are made by heat and pressure. they are below the earths surface and all the ground above them weighs down. these rocks are layered.

# data[].attributes.body
these rocks are most of the time in layers of sand pebbles and maybe fossils compacted together. by compaction, these sediments are stuck together like cement.