A rhapsody is a single-movement, episodic work, often featuring a contrasting moods, colours and tonalities, with a distinct air of spontaneity and improvisation. The term was first used for piano compositions in 1810. It may be defined as a free fantasia of national, epic, or heroic character. The title came into general use in music of the mid-19th century, notably with the Hungarian rhapsodies of Liszt.