Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
The decision to keep or toss is ultimately your own.
If you are satisfied all the old email, contacts, tasks, and calendars have migrated forward to Office 2016 and you don't need anything from those old versions and you don't need them for record keeping purposes, then go ahead and delete all that old stuff.