Sort:  

Thanks for your comment @hiveer. The bags are filled with sand it prevent the water from touching the soil so that it will not fall inside the water with that there will no be erosion.

I have seen some use black polyethene for this work. This one too look very effective. nice work !