Fragmentation can occur on storage media such as memory, SSDs, and hard disks.Hard disks are more susceptible to fragmentation due to their electro-mechanical mechanism.Different forms of fragmentation exist on hard disks: file data, file system metadata, and free space.Automatic defragmentation is available in HFS+ and APFS file systems, but limitations still exist.