How does laser cooling work?

But where does the energy go? If you throw objects to another object, the kinetic energy turns to heat, right? But the atoms can't have heat inside them so do the photons just bounce off with even more energy than they had or what?