I've read online that black holes are almost ideal black bodies. But for a body to be called an ideal black body it should emit all the rays of all the wavelengths but black holes don't, so how can we call them black bodies?
so, what happens to the energy which black holes absorb?