Microorganisms play a vital role in nutrient cycling by breaking down organic matter into nutrients that can be used by plants and other organisms. They decompose dead plants and animals, releasing nutrients such as nitrogen, phosphorus, and carbon back into the soil. This process, known as decomposition, helps to recycle nutrients and sustain the ecosystem. Additionally, certain microorganisms can fix atmospheric nitrogen into a form that plants can absorb, further contributing to nutrient cycling.