Yes because igneous rocks are made from lava that cools in or outside of a volcano and sedimentary rocks are simply made of sand rocks and other things that just stick together in layers and forms a rock. I don't know if I'm being clear though... Sorry I speak French but I hope I helped :)