Sedimentary rocks are those rocks which are formed from the sedimentation and consolidation of sediments. They are found above the earth's surface and are comprised of various minerals. For example, Sandstone, Limestone, Mudstone.
Igneous rocks are those that are formed from the crystallization of magma above or beneath the earth's surface. They are comprised of different minerals. For example, Granite, Gabbro, Syenite.