# data[].attributes.body
Sedimentary rocks are sediments of previous rocks and dead animals that are then buried, which causes the sediment to become compacted and cemented, thus sedimentary rocks.

# data[].attributes.body
Metamorphic rocks form due rocks being exposed to high heat and pressure caused by the depths of Earth.

# data[].attributes.body
Magma is formed from the melting of rocks due to high temperatures in the Earth's lithosphere.

# data[].attributes.body
Igneous rocks form when magma finishes cooling down and solidifying.