Dance music
In the Classical music period composers wrote a lot of symphonies and string quartets.  They had four movements.  The third was normally a minuet, although it was not for dancing to.  Composers such as Mozart and Schubert also wrote a lot of music which was for dancing or easy listening.  This was the popular music of its time.