False. It reorganizes existing files. Use recovery software for deleted files.
This is the most important part of this article. defrag hdd
Modern versions of Windows (10 and 11) are smart—they usually optimize your drives automatically once a week. However, you can manually trigger it if your system feels sluggish: This is the most important part of this article
If your HDD is making clicking/grinding noises or has bad sectors, do not defrag. Back up data immediately and replace the drive. Defragging a dying drive can kill it. Back up data immediately and replace the drive
: Run a Disk Cleanup first to delete temporary files. This gives the defrag tool less "trash" to move around, making the process faster.
Modern versions of Windows (Windows 10 and 11) typically handle defragmentation automatically on a schedule, but you can also trigger it manually to give your PC an immediate boost.