There are three main kinds of rocks: igneous rock, metamorphic rock, and sedimentary rock. Each of these rocks can change into the other kinds by physical processes: cooling, melting, heat, weathering/erosion, compacting (squeezing tightly together), cementing, and pressure.