# data[].attributes.body
Extrusive and intrusive igneous rocks differ in the way they form. Extrusive igneous rocks solidify from lava that flows onto the Earth's surface, cools rapidly, and solidifies. Intrusive igneous rocks, on the other hand, form from magma that cools slowly below the Earth's surface and solidifies into rock. Because of this difference in cooling rate, extrusive igneous rocks tend to be finer grained and have a smaller crystal size compared to intrusive igneous rocks, which tend to have larger crystal sizes.

# data[].attributes.body
1. Transported bits or pieces of pre-existing rocks that have been compressed and cemented together to form clastic sedimentary rocks. From little clay and silt particles to larger boulders and cobbles, the particle size and shape can vary. Sandstone, shale, and conglomerate are a few examples of clastic sedimentary rocks.

2. The accumulation and compression of organic material, such as plant and animal remnants, results in the formation of organic sedimentary rocks. Some limestones and coal are examples of biological sedimentary rocks.

3. Minerals precipitate out of solution to form chemical sedimentary rocks. They may develop as a result of chemical reactions between water and minerals, water evaporation, volcanic precipitation, or all three. Gypsum, rock salt, and a few types of limestone are examples of chemical sedimentary rocks.

# data[].attributes.body
1. Due to the parallel arrangement of mineral grains and/or other structural elements, foliated metamorphic rocks appear layered or banded. The focused pressure used during metamorphism, which causes the minerals to realign in a parallel way, results in this type of texture. Slate, phyllite, schist, and gneiss are a few examples of foliated metamorphic rocks.

2. On the other hand, non-foliated metamorphic rocks have a structure with no discernible layering or banding. This kind of texture results from a metamorphic process that applies pressure more evenly and prevents the minerals from realigning. Marble, quartzite, and hornfels are a few examples of non-foliated metamorphic rocks.