Ballet as a music form progressed from simply a complement to dance, to a concrete compositional form that often had as much value as the dance that went along with it. The dance form, originating in France during the 17th century, began as a theatrical dance.
https://en.wikipedia.org/wiki/Ballet_(music)