An ostinato is a short musical phrase, either rhythmic or melodic, that repeats continuously throughout a musical composition or in some parts. Common examples include the repetitive snare drum pattern in Ravel's Bolero and a short repeating melody. Ostinatos can be played by different instruments and help give musical works their distinctive features and structure.