# data[].attributes.attachment_caption
Igneous rocks are “fire-born,” meaning that they are formed from the cooling and solidification of molten (melted) rock. The word igneous derives from ignis, the Latin word for “fire.” Molten rock material is known as magma until it is erupted onto the surface when it then is termed lava.

# data[].attributes.attachment_caption
Sedimentary rocks are types of rock that are formed by the accumulation or deposition of mineral or organic particles at Earth's surface, followed by cementation.

# data[].attributes.attachment_caption
Sediment is made up of solid, loose pieces of rocks (in the form of sand, silt, clay, and gravel), or the remains of living things found at the surface of the Earth.

# data[].attributes.attachment_caption
Metamorphic rocks started out as some other type of rock, but have been substantially changed from their original igneous, sedimentary, or earlier metamorphic form. Metamorphic rocks form when rocks are subjected to high heat, high pressure, hot mineral-rich fluids or, more commonly, some combination of these factors.

# data[].attributes.attachment_caption
Magma is extremely hot liquid and semi-liquid rock located under Earth's surface. When magma flows onto Earth's surface, it is called lava.

# data[].attributes.attachment_caption
Igneous rocks are “fire-born,” meaning that they are formed from the cooling and solidification of molten (melted) rock. The word igneous derives from ignis, the Latin word for “fire.” Molten rock material is known as magma until it is erupted onto the surface when it then is termed lava.