Complex sentence: While waiting in the line, they may be chosen to perform various challenges which can earn them additional prizes and/or a move to the front, or the back, of the line.
Split into simpler sentences: While waiting in the line, they may be chosen to perform various challenges. These can earn them additional prizes and/or a move to the front or back of the line.