ya talking about the windows disk defrag right
Disk Defragmenter is a system utility for analyzing local volumes and locating and consolidating fragmented files and folders. You can also defragment disks from a command line using the defrag command.
Volumes become fragmented as users create and delete files and folders, install new software, or download files from the Internet. Computers typically save files in the first contiguous free space that is large enough for the file. If a large enough free space is not available, the computer saves as much of the file as possible in the largest available space and then saves the remaining data in the next available free space, and so on.
After a large portion of a volume has been used for file and folder storage, most of the new files are saved in pieces across the volume. When you delete files, the empty spaces left behind fill in randomly as you store new ones.
The more fragmented the volume is, the slower the computer's file input/output performance will be.
thats the overview from the disk defragmenter help screen once you have the defragmenter up just click help and about disk defragmenter
i recomend a 3rd party defragmenter JKdefrag rather than microsofts installed defrager