<human>: What is the best way to determine which type of a rock is igneous, sedimentary, or metamorphic?
<bot>: The best way to determine which type of rock is igneous, sedimentary, or metamorphic is by examining its mineral composition. Igneous rocks are formed when molten material cools and solidifies into a solid form. Sedimentary rocks are made up of particles that were once part of an ocean or lake bed. Metamorphic rocks have been changed from one type of rock into another through extreme heat and pressure.