it is the third movement in a four movement form, the others being involved in the late 18th century, such as a sonata or allegro, followed by a variations, theme, or even adagio. With the in question Minuet and trio movement which gives way to a rondo, or perhaps even another sonata.