# data[].attributes.body
The two main categories of igneous rocks are extrusive and intrusive. Extrusive rocks are formed on the surface of the Earth from lava, which is magma that has emerged from underground. Intrusive rocks are formed from magma that cools and solidifies within the crust of the planet.

# data[].attributes.body
Sedimentary rocks are formed on or near the Earth’s surface, in contrast to metamorphic and igneous rocks, which are formed deep within the Earth. Clastic sedimentary rocks are made from rock and minerals compressed together to make a rock. Chemical sedimentary rocks participate in a type of fluid, and Organic sedimentary rocks are made out of bodies of plants.

# data[].attributes.body
Rocks that undergo a change to form a new rock are referred to as metamorphic rocks. Foliated rocks have a banded appearance. While Non-foliated rocks do not have the banded appearance.