# How does Ammonia and water mixture works in an absorption refrigeration?

As per one of the questions in this site $$\ce{NH3 + H2O -> NH4 + OH}$$

However, per another perspective in absorption refrigeration

The mixture is placed in the same container. Then when it is heated the mixture is separated and $\ce{NH3}$ changes phase, becomes a gas which moves further to cooling, while water is trapped down in the reservoir.

Which one is correct?