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 one of these processes: cooling, melting, heat/pressure, weathering/erosion, and compacting (squeezing tightly together)and cementing.