In ultrasonic testing, resolution and the ability to detect small flaws depend on the wavelength of the sound waves used.
Since wavelength is inversely proportional to frequency, using higher frequency waves results in smaller wavelengths.
Smaller wavelengths can interact with and detect smaller discontinuities, making high-frequency waves more suitable for detecting tiny defects.
However, higher frequencies have less penetration capability, so there's always a trade-off between resolution and depth of inspection.