If the SharePoint site is connected to an Office 365 group, deleting the site will also delete the group and all its resources, including the planner, group mailbox, calendar, etc.