Defragmenting of harddisks used to be important as is sorted the data blocks of a file so that they were adjacent or near to each other to minimise disk platter and read/write head movements which cost time.
On SSDs you have no mechanical parts so this isn't needed.