The matter is transferred from producers to consumers and then to decomposers and in this way, the matter is cycled in the ecosystem and energy is transferred from one trophic level to another trophic level following the 10 percent law according to which only 10 percent of energy is transferred and rest is lost. In the rock cycle, rocks and matter go through uplift, weathering, erosion, deposition, melting, crystallization, and metamorphism as they travel between Earth's surface and its interior layers. In the water cycle, water particles undergo evaporation, condensation, precipitation, and flow.