Slime is meant to help fish stay healthy in the water .
They mostly spawn a large number of small eggs with little yolk which they broadcast into the water column.slime is to help the fish so it does not get any diseases in the water.
Fish anatomy