Magnetic testing uses a magnetic field to detect cracks and other defects in welded joints. These defects are made visible by using iron filings or a fluorescent substance. This technique is highly useful for welds because it quickly identifies critical defects that could compromise structural integrity without damaging the component.