CHKDSK is a command-line utility built into Windows operating systems. It is used to check and repair file system errors on storage drives, such as hard drives or solid-state drives. When run, CHKDSK examines the integrity of the file system, scans for bad sectors, and attempts to fix any issues it finds.