Human: What is the best way to determine which type of a rock is igneous, sedimentary, or metamorphic? Assistant: 
The best way to determine which type of rock is igneous, sedimentary, or metamorphic is to examine its physical characteristics. Igneous rocks are formed from the solidification of molten magma and have distinct textures that can be easily identified. Sedimentary rocks form when particles such as sand and mud accumulate over time and have distinct layers that can be seen in cross-section. Metamorphic rocks are formed by intense heat and pressure, resulting in minerals changing their structure and shape. Comparing these features will help you determine which type of rock you’re looking at.