When you delete data on Android devices, the files are still stored in the same spot on your devices, but marked as 0 memory usage. When the spot is used to store new data, the deleted one will be overwritten and then removed from your Android device forever.
Therefore, Android data recovery software can access this deleted data and recover it before it is overwritten by the new files. In other words, when your data is lost, immediately processing the data recovery can increase the success rate.