To rot and break down the remains of plants and animals into smaller parts