While the default file system used on a Macintosh doesn't require defragmenting, you can do so with a thrid party utility called iDefrag. However, some argue that defragmenting a Mac actually hurts performance due to the nature of the file system's indexing.