Correct answer: \( X \) -rays
X-rays have wavelengths comparable to interatomic distances, so they can diffract from crystal planes and produce patterns used to determine crystal structure. Cathode rays are streams of electrons, and gamma rays are too penetrating and not typically used for this purpose.