They act as roller bearings on a parrel, which is a rope or wire strop that typically fastens one spar to another along which it must have some freedom of movement.
This allows the gaff to slide up and down the mast as sail is hoisted or lowered, and allows some rotation around the mast as the sail is sheeted in and out to allow for different wind directions.
[3] A set of parrel beads is formed from small balls, size depending on the application, threaded on a piece of small line and secured with a stopper knot at each end.
[2] One end of the line is usually permanently bent to the movable item.
Their function is to secure the movable item in place, but to allow it to move along and around the device.