Magnets can temporarily alter pacemaker and ICD (Implantable Cardioverter-Defibrillator) function if placed within 6 inches (15 cm) of the device.
Potentially causing asynchronous pacing or inhibiting shock therapies.
While generally not damaging, strong magnets (e.g., neodymium) in electronics like phones or smartwatches should be kept away from the chest.