Is defragmentation a Windows thing or does it also apply to other OSes as well

comments

it applies to any filesystem

even one’s on ext4?

yeah cause of how filesystems work