A libretto is the text used in an extended musical work such as an opera, operetta, masque, oratorio and cantata, musical, and ballet. The term "libretto" is also sometimes used to refer to the text of major liturgical works, such as mass, requiem, and sacred cantata. Libretto (pl. libretti), from Italian, is the diminutive of the word "libro" (book).