Why so many zfs snapshots?

I am using Ubuntu 16.04 and zfs. There is a ***load of snapshots created after a while. Is this a bug or a feature? How can I get the system to automatically purge the snapshots that are no longer needed?