Rock is very common in our lives, and people use it to build houses, make sculptures, and refine metals. It is also a major component of the Earth's lithosphere.

Rocks can be divided into three categories according to their genesis: magmatic rocks, sedimentary rocks and metamorphic rocks.
Magmatic rocks are rocks formed by the cooling and solidification of high-temperature molten magma on the surface or underground, also known as igneous rocks, typically represented by basalt and granite.
Sedimentary rock refers to many clastic materials on the surface of the earth, rocks formed after being transported and deposited by wind, flowing water, etc., and there are fossils in many sedimentary rocks, which is a precious material for studying the history of the earth.
Metamorphic rock is a rock that is formed first, and after the environment changes, it is formed by metamorphism, such as Dali rock, quartzite and so on.
Source of the article; Geographical Interesting World