Disk formatting is the process of preparing a hard disk or other storage medium for use, including setting up an empty file system. Disk can be divided into several logical sections that are formatted with their own file systems.
The corrupted operating system can be reverted to a clean state, after reformatting and reinstalling the OS, as a drastic way of combating a software or malware infection. Note that reformatting a disk does not erase the data on the disk, only the address tables. Do not panic, therefore, if you accidentally reformat a disk that has useful data. A computer specialist should be able to recover most, if not all, of the information on the disk. You can also buy programs (like EASEUS Data Recovery Wizard) that enable you to recover a disk yourself. Of course, you have to back up all important files before you formatting this disk.
Formatting a disk involves two quite different processes known as low-level and high-level formatting. Low-level deals with the formatting of disk surface and installing characteristics like sector numbers that are visible to so that can be used by disk controller; and the high-level deals with specific information written by operating system.