HDDs data fragmentation is a problem because the disks spin and the head needs to physically scan across the disc to locate the data where it was written. SSDs do not do that.
Think of a cassette player, where you had fast rewind or forward to find you favorite song, vs an MP3 player.
Now, imagine your favorite song was recorded in several different places on that tape, instead of one, and you had to locate each piece of that song and load it to memory in order to play it continuously. Imagine how long would that take you vs just finding the song in one place.
That’s data defragmentation in simple terms.