What Does It Mean to Format a Disk?
To format a disk refers to preparing a hard drive, solid-state drive (SSD), or any other storage device to store information using a desired file system. In this process, the operating system creates the required structures to organize the files. Disk formatting is generally done during installation of a new drive, changing the file system on the disk, or when preparing a drive for use with a different computer. There are two types of disk formatting, namely quick and full. Quick formatting erases file system references but does not scan every sector of the disk. Formatting may render your files unavailable, so backup is always recommended. Notchox can help you recover the information from an accidentally formatted disk on supported Windows and macOS storage drives.
Read more - https://notchox.com/resources/what-happens-during-formatting/