They are overwhelmingly the antagonists, opposing the love of the innamorati; the comic ending is produced when the zanni manage to overcome them and unite the lovers.
Vecchio is also the Italian word for "old" as used in Ponte Vecchio, meaning "old bridge"