Data is stored on hard drives as ones and zeros. Part of the hard drive contains a map, that tells the O/S where the various bits of the data is stored. When a file is deleted, the data is not really deleted, but instead the area where the data is stored is marked "available for use" and the map that tells the O/S where to find the data is deleted.
Recovery software attempts to build the map again, and if the data has not been overwritten, it can usually be reassembled.
But once those areas of disk are overwritten by newer data, the previous data is gone.
This is what making backup copies is important. Especially with things like cryptoware out there.
Good luck.