# data[].attributes.body
The magma rises and collects in chambers within the crust. As magma fills the chamber, pressure grows. If the pressure gets high enough, the magma can break through the crust and spew out in a volcanic eruption.

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

# data[].attributes.attachment_caption
Sedimentary rocks are formed when sediments undergo the lithification process. The three main phases are deposition, compaction, and cementation.

# data[].attributes.attachment_caption
Sedimentary rocks become metamorphic rocks when they are subjected to heat and pressure from burial. 

# data[].attributes.attachment_caption
Because of weathering and erosion, the igneous rock break into pebbles, sand, and mud, creating sediment, which accumulates in basins on the Earth's surface.

# data[].attributes.attachment_caption
The volcano erupts lava. This lava then cools down and solidifies, hence producing igneous rocks. 