Magnetic particle testing is a non-destructive testing method used to locate discontinuities in ferromagnetic materials. It works by magnetizing the material, applying iron particles, and looking for patterns formed by particles attracted to areas of flux leakage around discontinuities. The basic steps are magnetizing the part, applying particles, and interpreting patterns. It is commonly used in industries like aerospace, automotive, and steel to inspect parts like castings and welds.