You don't need to defrag an SSD. In fact in some cases, it can damage the SSD.
The reason you have to defrag mechanical HDDs is that on a traditional HDD, if the data is spread out on the disk, the disk read/write head has to physically move to read each fagment. By defragging, you move related sector near to each other.