# data[].attributes.body
Sedimentary rocks are made up of pieces of pre-existing rocks. These pieces are loosened by weathering, then transported to some basin or depression where sediment is trapped. If the sediment is buried deeply, it becomes compacted and cemented, forming sedimentary rock.

# data[].attributes.body
When a sedimentary rock becomes buried deep enough within the crust to be subjected to increased temperature and pressure, it may change into metamorphic rock.

# data[].attributes.body
If the newly formed metamorphic rock continues to heat, it can eventually melt and become molten (magma).

# data[].attributes.body
When magma (molten rock) cools and crystallizes, either at volcanoes on the surface of the Earth or while the melted rock is still inside the crust, igneous rocks are formed.

# data[].attributes.body
On the surface, weathering and erosion break down the igneous rock into pebbles, sand, and mud, creating sediments.

# data[].attributes.body
The Rock cycle is the process that completely portrays the complex and interconnected transformation of rock from one category to another.

# data[].attributes.body
Sedimentary rocks are formed near or on the Earth's surface. They are created by constant sedimentation followed by pressure and heat. Visible strata are seen in its features.

# data[].attributes.body
Metamorphic rocks are formed when rocks are subjected to high heat, high pressure, hot mineral-rich fluids, or, more commonly, some combination of these factors. Conditions like these are found deep within the Earth or where tectonic plates meet.

# data[].attributes.body
Magma is basically lava that remains dormant inside the volcanoes. Magma is the liquid form of rocks under great pressure and temperature due to heat from the earth core.

# data[].attributes.body
Igneous rocks are formed from cooled magma. Some are rigid or porous in texture, depending on the area of cooldown.

# data[].attributes.body
Sediments are small fragments that are caused by the weathering of rocks in the Earth's surface. They are spread through wind, water or by the force of gravity acting on the particles.