Yes, the cantata is a major form in the classical music era. A cantata is a vocal composition with instrumental accompaniment, typically comprising multiple movements—recitatives, arias, duets, choruses—at least one being a solo aria.
Cantatas thrived in the 17th and 18th centuries (Baroque through Classical), performed in both sacred (church) and secular (court, concert) settings.
In the Classical period (Haydn, Mozart, early Beethoven), the cantata became more operatic in scale and dramatic intent, often blurring into the scena or concert aria. By the Romantic era, it largely merged into the oratorio and song cycle.
The cantata remains a vital link between intimate song and full-scale opera.