As files are saved and deleted, gaps are left on the hard drive, and new files may not fit into the spaces left, so they are split into parts and saved across many small gaps - to prevent this, defragmentation rearranges files stored so no files are split up, making files quicker to access.