One of the things that happen very often to writable computer storage devices (hard disk drive, solid-state drive, floppy disk, USB flash drive, sd card, etc) is formatting. Your heart may sink hearing that your disk was formatted by error or consciously.
From the user point of view, there maybe reasons to lament because the formatting process erases all the information on the disk.
But closely looking at it, there is no need to panic because technically, formatting simply writes a new directory structure that allows all the files to be overwritten, creating a blank disk.