The ultraviolet catastrophe refers to the incorrect prediction of classical physics that the intensity of black body radiation would increase indefinitely at higher frequencies. The experimental observations contradicted this prediction and led to the realization that classical physics couldn't explain the behavior of black body radiation, ultimately necessitating the development of quantum mechanics.