Hello!
On a cold winters day, if you left a drink setting outside, it could freeze because the heat (related to the kinetic energy) of the atoms in the drink will be transferred to the environment to achieve energy equilibrium.
Heat transfer occurs by various mechanisms, flowing from the hottest body to the coldest, that's why the heat goes from the drink, which has a higher temperature (and kinetic energy) to the environment, which has a lower temperature. This is described by the second law of thermodynamics