Rocks are classified into three main categories: igneous, sedimentary, and metamorphic, each formed through distinct processes such as volcanic activity, erosion, and pressure. Igneous rocks can be further divided based on their formation and texture, while sedimentary rocks are categorized into clastic, organic, and chemical types. The rock cycle illustrates the constant transformation of these rock types through erosion, deposition, and geological processes over billions of years.