How does laser cooling work?

So light bangs atom and it slows down, but where does the energy go?

In macro objects it goes to sound/heat/or to break bonds (break)

My guess is that is that the energy is immited as light, so laser cooling produces light