Formatting involves initializing a storage medium by organizing a file system that enables the operating system to store and retrieve files. During formatting, the file system on a drive is erased and another file system is installed. This is one of the reasons why a formatted drive looks like an empty drive despite the presence of data from the initial state of the drive, especially when the drive is fast-formatted. It is always advisable to recover your files before formatting them rather than relying on the possibility of their restoration later on. In case your files become inaccessible due to formatting, Notchox can assist you.
Read more – https://notchox.com/resources/what-happens-during-formatting/