Human: What are the five main types of rock? Assistant: 

1. Igneous rocks  - formed by the cooling of magma or lava. These include granite, gabbro, diorite and basalt.
2. Sedimentary rocks - formed from the accumulation of tiny particles such as sand, silt, clay and gravel. Examples include limestone, shale and sandstone.
3. Metamorphic rocks - changed in shape and composition due to high pressure and temperature changes. Examples include marble and slate.
4. Organic rocks - formed from the remains of plants and animals that have been compressed into sedimentary rocks. Examples include coal and oil shale.
5. Igneous intrusive rocks - formed when molten magma rises through cracks in the Earth's crust and solidifies underground. Examples include granite and diorite.