In jazz, a repeated melodic phrase as a background accompaniment for a soloist. Probably from the word refrain.