Sedimentary rocks form from sediment deposited in layers in bodies of water. Metamorphic rocks are changed by extreme heat and pressure over time. Igneous rock forms when magma cools and solidifies above or below the Earth's surface. All three rock types have everyday uses.