A convenient way of tidying knots (which can be hidden within the recess of the molding), also assist in pulling the line, and the bright colours act as identification.
They can also be used as parrel beads on standing wire rigging as sail protectors and port and starboard identification.