The group of inventions relates to the field of organic chemistry and can be used for cleaning water, industrial and domestic waste water or waste water sediment, and for the containment and recovery of petroleum and petroleum product spills in large bodies of water, rivers, lakes and seas. In the claimed group of inventions, aqueous solutions of polysaccharide microgels, having a molecular mass of 20000-200000 daltons and a particle size of 50-600 nm, are used as a substance for cleaning water of petroleum and petroleum products. Moreover, low concentrations of polysaccharide microgels in water, ranging from 0.1 to 20 g/l, are used. Said solutions are used as a surface modifier for a filter used in separating water-oil emulsions, as a sorbent for the containment and recovery of oil spills in an aqueous medium, and also as a coagulant for the cleaning of water polluted by petroleum and petroleum products. The technical result is in making it possible to recover a commercial product, recovered during the process of cleaning water of petroleum or petroleum products, and to recover the starting substance for the reuse thereof, while simultaneously simplifying the slurry utilization process.