Read heads function by detecting the magnetic fields on the storage medium. In modern HDDs, magnetoresistive (MR) or giant magnetoresistance (GMR) technology is used. These technologies exploit the changes in electrical resistance caused by magnetic fields at the nanoscale, allowing for precise data readout.