Apple Diagnostics isa new service that works differently from the Apple Hardware Test.
This can include problems with aMac’s display, graphics, processor, memory, and storage.
Actual hardware failure is rare, but it happens from time to time.

Jane Kelly / Shutterstock
A common hardware failure israndom-access memory (RAM).
The Apple Hardware Test can check your Mac’s RAM and let you know if there are any issues.
Macs made after 2013 must use a newer version of the hardware test, called Apple Diagnostics.
To do this, you need a wired or Wi-Fi connection to the internet.
Before you send your Mac off to a shop, though, tryresetting the PRAMas well asresetting the SMC.
This can be helpful for some errors, including logic board and fan problems.
If your Mac has user-serviceable RAM modules, clean and reseat the modules.
Once the RAM is reinstalled, spin up the Apple Hardware Test again, using the extended testing option.
If you still have memory issues, you may need to replace the RAM.