S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology; often written as SMART) is a monitoring system for computer hard disk drives to detect and report on various indicators of reliability, in the hope of anticipating failures.
When a failure is anticipated by S.M.A.R.T. , the user may choose to replace the drive to avoid unexpected outage and data loss. The manufacturer may be able to use the S.M.A.R.T.
S.M.A.R.T. is the embedded monitoring system that comes implemented in most modern HDD or SSD, but unfortunately, it will only let itself be known to users only when an imminent hardware failure is on its way.
All the main HDD manufacturers recommend an occasional check of your disk status and also running some surface tests and benchmarks.