The white stuff on a wound is known as Purulent drainage and is a good thing which means it's helping to fight the infection in your wound.
When you get the white stuff on a wound your wound is healing.
The white stuff in the wound is pus that is draining and the pus is full of dead white blood cells that are rushing to the surface of the wound.
It helps the body fight infection.
The white pus from wounds can contain bacteria and fungi that your body is wanting to get rid of.