What is the meaning of Counting-out_game?

A simple children's game using a rhyme (the counting rhyme) to select a person from a group, more or less at random. The selected person then takes a particular role in another game that follows.

Source: wiktionary.org