When you preview a selection, a temporary data extension and query activities are created in system folders. These are always deleted when deleting a selection, making sure DESelect doesn’t use unnecessary space in your Marketing Cloud instance.
When you run a selection, a query activity is created, or possibly 2 when you use deduplication. On selection deletion the user has the ability to choose whether this/those Query Activity(ies) will be deleted. The user can also choose whether or not (s)he wants to delete the Target Data Extension used in the selection. The modal with the deletion options looks as follows:
More details on how this functionality works can be found below: