The basics are described here
http://www.bleepingcomputer.com/tutorials/tuto rial55.html#frag
It's relatively simple ... but tedious to type out in detail
a formatted disc is divided into lots of little boxes
(say 512 bytes)
file1.... file 2
xxxxxxyyyyyyy
are both less than 512 bytes ... so each file takes up 1 box
the next time you work on file 1 and make it bigger
(600 bytes) it need two boxes
file1.... file 2....file1
xxxxxxyyyyyyyxxxxxxx
hey presto! fragmentation!!!!
and it's prety much all bad news .... to access the file ... the head needs to access two different boxes
on a big file ... badly fragged the boxes could be anywhere on the disk so it takes longer to find and access each box.
however
if the boxes are all lined up .... the heads quickly find each box ... speeding up the whole process