Thus, The difference is that: Sedimentary rocks are usually formed under water when grains of broken rocks are glued together while igneous rocks form when melted rock (magma or lava) cools and metamorphic are rocks that once were igneous or sedimentary rocks but have been changed by pressure and temperature.