Yes, there are recovery features built into many of the apps that run on your Mac. In some cases, such as with iTunes, you can restore past purchases and songs easily from the cloud. The Mail app keeps deleted items in a Trash folder for a designated number of days. Other apps like Contacts, Photos, and Notes keep deleted items in a Recently Deleted folder where they can easily be retrieved.