They help remove splinters.
A banana peel is rich in enzymes and these enzymes in the banana skin have a pulling action that will draw the foreign subject to the surface of the skin which will make it much easier to grab the splinter or sliver or glass with a pair of tweezers.