Mucus removal after toenail removal

After toenails are permanently removed, why must mucus be brushed off of the toes while healing?

Thank you for your help.

Jim Adrian