In Windows, deleting files is a three stage process:
1) Stage one. The files get moved from the folder where they are stored to the Recycle Bin. When the bin reaches its capacity limit, older files will be removed from the bin to make way for newly deleted files. Files over a certain size will go straight to stage 2. There is also the option of bypassing the recycle bin and 'permanently' deleting a file - going straight to stage 2. While in the recycle bin, the space occupied by a file is still formally reserved although it is now only visible in the recycle bin. It cannot be accessed directly, but must be restored to its original location to access such a file.
2) Stage two. When a file is emptied from the recycle bin or stage one was bypassed, then the folder pointers that provide access to the file are deleted, and the space occupied by the file is placed in the list of space on the disk that is available for new files. At this point, the data still exists either entirely or in part. Programs such as Recuva, Testdisk or Photorec can find surviving data and recover it often into files with random names, particularly on an HDD. For an SSD, the operating system can identify space that is now available for new files. Under these conditions, the SSD may erase the last traces of a file. When a write is made to an SSD, the locations involved must be erased first then the new data is written. Sometimes an SSD will erase blocks that are no longer referenced in Windows in advance. This make subsequent writes to the SSD much quicker as the erase cycle has already been completed. If an SSD does this then the data has gone and cannot be recovered. It depends on the way an SSD works and whether the operating system supports the mechanism (known as Trimming) to tell the SSD which blocks are no longer needed and can be pre-erased.
3) Stage three. This occurs when Windows needs space for new or expanding files, and the some (or all) space released in stage two is overwritten. At this point the data is gone.
On an HDD, sometimes forensic access to the disk might be able to detect faint residual magnetic patterns to recover data. In an SSD, then forensic recovery of overwritten data should be considered as being impossible.
I hope this helps.